The SetICMProfile function sets the color profile for the specified device context.
BOOL SetICMProfile(
HDC hdc, | |
LPTSTR lpFileName | |
); |
Parameters
hdc
Handle to the device context.
lpFileName
Pointer to a null-terminated string that names the color profile file.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
See Also