aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/echo/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/echo/main.cpp')
-rw-r--r--samples/echo/main.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/samples/echo/main.cpp b/samples/echo/main.cpp
new file mode 100644
index 0000000..0216875
--- /dev/null
+++ b/samples/echo/main.cpp
@@ -0,0 +1,24 @@
+//
+//
+//
+#include <windows.h>
+
+int WINAPI Echo(PCSTR pszMsg);
+
+extern "C" int __stdcall mainCRTStartup(HINSTANCE hInstance,
+ HINSTANCE hPrevInstance,
+ LPSTR lpCmdLine,
+ int nCmdShow
+ )
+{
+ (void)hInstance;
+ (void)hPrevInstance;
+ (void)lpCmdLine;
+ (void)nCmdShow;
+
+ Echo("Hello World");
+ Echo("Goodbye World");
+
+ return 0x99;
+}
+