Skip to content

Instantly share code, notes, and snippets.

@kumatti1
Created April 9, 2014 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kumatti1/10328360 to your computer and use it in GitHub Desktop.
Save kumatti1/10328360 to your computer and use it in GitHub Desktop.
(Ctrl+c)キー送信した際の挙動
#include <windows.h>
int CALLBACK WinMain(
_In_ HINSTANCE hInstance,
_In_ HINSTANCE hPrevInstance,
_In_ LPSTR lpCmdLine,
_In_ int nCmdShow
)
{
MessageBoxA(nullptr, "A", "A", MB_OK);
MessageBoxW(nullptr, L"W", L"W", MB_OK);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment