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.
This function has no parameters.
Success: the OEM codepage ID.