CreateCab

Creates a compressed cabinet (.CAB) file.


BOOL CreateCab (
   char *szFileToCompress,
   char *szCabFilename
);

Parameters

Parameter Description

szFileToCompress

A string specifying the path and name of the file to compress.

szCabFilename

A string specifying the path and name of the .CAB file.

Return Value

TRUE if the .CAB file is created; otherwise, FALSE.

Requirements

Library: mscortim.dll