Codex API: Profiles

DeleteExtractionProfile

The DeleteExtractionProfile deletes the requested decompression profile over the given archive.

 

VOID DeleteExtractionProfile(
    LPCTSTR lpArchive,         // archive format
    LPCTSTR lpProfile,         // profile to delete
);

Parameters

lpArchive

[in] Pointer to a null-terminated string that specifies the archive to which the profile belongs.

The lpArchive parameter must include the archive extension only. The extension may include wildcards.

lpProfile

[in] Pointer to a null-terminated string that identifies the profile to be deleted. The profile file is deleted from the hard disk.

You may use the GetExtractionProfilesEx function to obtain a list of existing profiles.

You should not use the values "Default", "Structured" or "Shell" when deleting profiles.

Return Values

This function does not return any values.

Requirements

Windows NT/2000/XP: Requires Windows NT 4.0 SP4 or later.
Windows 95/98/Me:
Requires Windows 98 (or Windows 95 with DCOM 1.2).
Header:
Declared in mCodexAPI.h.
Library:
Use mCodexAPI.dll.

See Also

Codex API Overview, Codex API Functions, GetExtractionProfilesEx