ICMENUMPROCW callback function (wingdi.h)
The EnumICMProfilesProcCallback callback is an application-defined callback function that processes color profile data from EnumICMProfiles .
Syntax
ICMENUMPROCW Icmenumprocw;
int Icmenumprocw(
LPWSTR unnamedParam1,
LPARAM unnamedParam2
)
{...}
Parameters
unnamedParam1
unnamedParam2
Return value
This function must return a positive value to continue enumeration, or zero to stop enumeration. It may not return a negative value.
Remarks
Note
The wingdi.h header defines ICMENUMPROC as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | wingdi.h |