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.
This function has no parameters.
The return value is a code that identifies the code page.
SetConsoleCP, GetConsoleOutputCP, SetConsoleOutputCP