BOOL GetCPInfo(CodePage, lpCPInfo) | |||
UINT CodePage; | |||
LPCPINFO lpCPInfo; |
The GetCPInfo function is used to get information about a code page.
CodePage
Code page to use. If this is CP_ACP, then the ANSI code page is used. If this is CP_OEMCP, then the OEM code page is used.
lpCPInfo
pointer to a CPINFO structure.
Success: TRUE
Failure: FALSE
This function sets GetLastError with the following values: ERROR_INVALID_PARAMETER.