summaryrefslogtreecommitdiffstats
path: root/src/native/tinype/tiny2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/tinype/tiny2.c')
-rw-r--r--src/native/tinype/tiny2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/native/tinype/tiny2.c b/src/native/tinype/tiny2.c
new file mode 100644
index 0000000..6330911
--- /dev/null
+++ b/src/native/tinype/tiny2.c
@@ -0,0 +1,15 @@
+#undef UNICODE
+#define UNICODE
+#include <windows.h>
+
+const wchar_t * id = L"JogAmp Windows Universal Test PE Executable";
+const wchar_t * cap = L"JogAmp";
+
+// int __main()
+// int main()
+// int main( int argc, char* argv[] )
+int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
+{
+ MessageBox(0, id, cap, MB_SETFOREGROUND | MB_OK);
+ return 0;
+}