Create winapi_string_case.c

This commit is contained in:
Jan Bodnar 2016-04-07 15:41:03 +02:00
parent c2d3ebaad8
commit 2889a0a6aa

View File

@ -0,0 +1,17 @@
#include <windows.h>
#include <wchar.h>
#pragma comment(lib, "User32.lib")
int wmain(void) {
wchar_t str[] = L"Europa";
CharLowerW(str);
wprintf(L"%ls\n", str);
CharUpperW(str);
wprintf(L"%ls\n", str);
return 0;
}