UninstallColorProfileA function (icm.h)
Removes a specified color profile from a specified computer. Associated files are optionally deleted from the system.
Syntax
BOOL UninstallColorProfileA(
PCSTR pMachineName,
PCSTR pProfileName,
BOOL bDelete
);
Parameters
pMachineName
Reserved. Must be NULL. This parameter is intended to point to the name of the machine from which to uninstall the specified profile. A NULL pointer indicates the local machine.
pProfileName
Points to the file name of the profile to uninstall.
bDelete
If set to TRUE, the function deletes the profile from the COLOR directory. If set to FALSE, this function has no effect.
Return value
If this function succeeds, the return value is TRUE.
If this function fails, the return value is FALSE. For extended error information, call GetLastError.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | icm.h |
Library | Mscms.lib |
DLL | Mscms.dll |