EnhCab

[This is preliminary documentation and subject to change.]

The EnhCab object, included in IPEnhSnd.dll, provides cabinet file utility methods. Your application can call the methods of EnhCab to create, add files to, and enumerate cabinet files. Because cabinet files are compressed, packaging enhancement files into a cabinet file can result in more efficient transmission.

To locate additional information about cabinet files, see Further Information on Data Services for the Client.

The EnhCab object has the following methods.

Method Description
AddFile Adds a file to a cabinet file.
CloseCabinet Closes a cabinet file and flushes it to disk.
EnumerateCabinet Enumerates the number of files stored in a cabinet file.
FileName Returns the filename of the file at the specified index in the cabinet file.
NewCabinet Creates a new cabinet file.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in ipenhsnd.idl.
  Import Library: Included as a resource in ipenhsnd.dll.
  Unicode: Yes.