Added a dll hello world example program

run following commands to test it:
bazel build --cpu=x64_windows_msvc examples/windows/dll:hello
./bazel-bin/examples/windows/dll/hello

--
Change-Id: I096f6ff66473b1c9980b0aa36ec291f39512dd71
Reviewed-on: https://bazel-review.googlesource.com/#/c/3932
MOS_MIGRATED_REVID=126300284
diff --git a/examples/windows/dll/hello-library.cpp b/examples/windows/dll/hello-library.cpp
new file mode 100644
index 0000000..4cfd7c9
--- /dev/null
+++ b/examples/windows/dll/hello-library.cpp
@@ -0,0 +1,23 @@
+#include <stdio.h>
+#include <windows.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <time.h>
+
+__declspec(dllexport) char *get_time() {
+  time_t ltime;
+  time(&ltime);
+  return ctime(&ltime);
+}
+
+__declspec(dllexport) void say_hello(char *message) {
+  printf("Hello from dll!\n%s", message);
+}
+
+#ifdef __cplusplus
+}
+#endif
+