EnumCodePagesProc

This application-defined callback function is used with the EnumSystemCodePages function. It receives a pointer to a string buffer that contains a code page identifier. The CODEPAGE_ENUMPROC type defines a pointer to this callback function. EnumCodePagesProc is a placeholder for the application-defined function name.

At a Glance

Windows CE versions: 1.0 and later

Syntax

BOOL CALLBACK EnumCodePagesProc( LPTSTR lpCodePageString );

Parameters

lpCodePageString

[in] Pointer to a string buffer that contains a code page identifier string with a terminating null character.

Return Values

To continue enumeration, the callback function should return TRUE. To stop enumeration, the callback function should return FALSE.

Remarks

An EnumCodePagesProc function can carry out any desired task.

An application registers an EnumCodePagesProc function by passing its address to the EnumSystemCodePages function.