FDITruncateCabinet(3w)

FDITruncateCabinet3w

Usage

BOOL FDITruncateCabinet
(
HFDI hfdi,
char* pszCabinetName,
USHORT iFolderToDelete
)

Overview

Removes all folders of a cabinet file after and including the specified folder number.

Params

hfdi [In] Handle to the FDI context.

pszCabinetName [In] Filename of the cabinet.

iFolderToDelete [In] Index of the first folder to delete.

Returns

Success: TRUE.

Failure: FALSE.

Notes

The PFNWRITE function supplied to FDICreate must truncate the file at the current position if the number of bytes to write is 0.

Implementation

Declared in "fdi.h".

Implemented in "dlls/cabinet/fdi.c".

Debug channel "cabinet".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.