ICMENUMPROCA callback function (wingdi.h)

The EnumICMProfilesProcCallback callback is an application-defined callback function that processes color profile data from EnumICMProfiles .

Syntax

ICMENUMPROCA Icmenumproca;

int Icmenumproca(
  LPSTR 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 which 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 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

See also