Codex API: Profiles


The DeleteCompressionProfile deletes the requested compression profile over the given archive.


VOID DeleteCompressionProfile(
    LPCTSTR lpArchive,          // archive format
    LPCTSTR lpProfile,          // profile to delete



[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.


[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 GetCompressionProfilesEx 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.


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).
Declared in mCodexAPI.h.
Use mCodexAPI.dll.

See Also

Codex API Overview, Codex API Functions, GetCompressionProfilesEx