.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH FDITruncateCabinet 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBFDITruncateCabinet\fR (CABINET.24) .SH SYNOPSIS BOOL FDITruncateCabinet ( HFDI \fIhfdi\fR, char* \fIpszCabinetName\fR, USHORT \fIiFolderToDelete\fR ) .SH DESCRIPTION .PP Removes all folders of a cabinet file after and including the specified folder number. .SH PARAMS \fIhfdi\fR \fB[In]\fR Handle to the \fBFDI\fR context. .PP \fIpszCabinetName\fR \fB[In]\fR Filename of the cabinet. .PP \fIiFolderToDelete\fR \fB[In]\fR Index of the first folder to delete. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR. .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP The \fBPFNWRITE\fR function supplied to FDICreate must truncate the file at the current position if the number of bytes to write is \fB0.\fR .SH IMPLEMENTATION .PP Declared in \fB"fdi.h"\fR. .PP Implemented in \fB"dlls/cabinet/fdi.c"\fR. .PP Debug channel \fB"cabinet"\fR.