GetConsoleCP

  UINT GetConsoleCP(VOID)    

The GetConsoleCP function returns the identity of the code page used by the console associated with the calling process. This code page is used to translate keyboard input into the corresponding character value.

Parameters

This function has no parameters.

Return Value

The return value is a code that identifies the code page.

See Also

SetConsoleCP, GetConsoleOutputCP, SetConsoleOutputCP