32 UINT uOldCodePage, uNewCodePage;
60 if (uNewCodePage == 0)
#define STRING_CHCP_ERROR4
BOOL WINAPI SetConsoleOutputCP(IN UINT wCodepage)
_Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str)
int wmain(int argc, WCHAR *argv[])
UINT WINAPI DECLSPEC_HOTPATCH GetConsoleOutputCP(VOID)
#define STRING_ERROR_INVALID_PARAM_FORMAT
UINT WINAPI DECLSPEC_HOTPATCH GetConsoleCP(VOID)
void ConResPuts(FILE *fp, UINT nID)
void ConResPrintf(FILE *fp, UINT nID,...)
LANGID ConSetThreadUILanguage(IN LANGID LangId OPTIONAL)
#define STRING_CHCP_ERROR1
BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleCP(UINT wCodePageID)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define ConStdStreamsSetCacheCodePage(InputCodePage, OutputCodePage)
#define ConInitStdStreams()