summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/win32gui/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/win32gui/app.cpp')
-rw-r--r--languages/cpp/app_templates/win32gui/app.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/win32gui/app.cpp b/languages/cpp/app_templates/win32gui/app.cpp
new file mode 100644
index 00000000..a875b28b
--- /dev/null
+++ b/languages/cpp/app_templates/win32gui/app.cpp
@@ -0,0 +1,12 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include <windows.h>
+
+int STDCALL
+WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
+{
+ MessageBox (NULL, "Hello, Windows!", "Hello", MB_OK);
+ return 0;
+}
+