NWUSGetCodePage
Returns the codepage and country of the standard converter
#include <nunicode.h> N_EXTERN_LIBRARY(nint) NWUSGetCodePage ( pnuint pCodePage, pnuint pCountry);
uses netwin32 Function NWUSGetCodePage (pCodePage : pnuint; pCountry : pnuint ): nint;
NWUSGetCodePage always returns zero.
NWUSGetCodePage returns the codepage of the standard byte/Unicode converter. It also returns the country ID of the system. If NWUSStandardUnicodeInit has not yet been called, NWUSGetCodePage returns the codepage and country ID that will be used when NWUSStandardUnicodeInit is called.
If an error occurs when NWUSStandardUnicodeInit is called, NWUSGetCodePage might be useful for printing an error message to tell the user which converters are needed.
See esgetcp.c for sample code.