GetOEMCP

  UINT GetOEMCP(void)    

The GetOEMCP function is used to get the OEM codepage ID for the system. If the registry value is not readable, then the chosen default value is returned.

Parameters

This function has no parameters.

Return Value

Success: the OEM codepage ID.