mirror of
https://github.com/janbodnar/Windows-API-examples.git
synced 2024-11-24 11:25:30 +00:00
Create winapi_string_case.c
This commit is contained in:
parent
c2d3ebaad8
commit
2889a0a6aa
17
strings/winapi_string_case.c
Normal file
17
strings/winapi_string_case.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user