Extract function

[This function is no longer supported, so its behavior cannot be guaranteed.]

The Extract function extracts files from a cabinet.

Syntax

HRESULT Extract(
   PSESSION ps,
   LPCSTR   lpCabName
);

Parameters

ps

Pointer to a SESSION structure that contains information about the current session.

lpCabName

Pointer to the name of the cabinet from which files are to be extracted.

Return value

If the function succeeds, it returns S_OK; otherwise, it returns an error code.

Remarks

This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.

Requirements

Requirement Value
DLL
Cabinet.dll

See also

DeleteExtractedFiles

ERF

SESSION