fix hello_nacl compile error

BUG=

Review URL: https://codereview.chromium.org/11191014

git-svn-id: https://nativeclient-sdk.googlecode.com/svn/trunk/src@1454 050acbb0-2703-11df-ab0a-9f3f633ae91d
diff --git a/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.c b/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.c
index c7d7340..0f4b33b 100644
--- a/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.c
+++ b/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.c
@@ -111,7 +111,11 @@
 
 #ifdef STEP4
 // Implements message handling in a callback function.
-void HelloWorldCallback(void* user_data, int32_t result) {
+void HelloWorldCallbackFun(void* user_data, int32_t result);
+struct PP_CompletionCallback HelloWorldCallback = {
+   HelloWorldCallbackFun, NULL };
+
+void HelloWorldCallbackFun(void* user_data, int32_t result) {
   MSG uMsg;
   if (PeekMessage(&uMsg, NULL, 0, 0, PM_REMOVE)) {
     TranslateMessage(&uMsg);
@@ -119,8 +123,6 @@
   }
   ppb_core_interface->CallOnMainThread(100, HelloWorldCallback, 0);
 }
-
-struct PP_CompletionCallback HelloWorldCallback = { HelloWorldCallback, NULL };
 #endif
 
 #ifdef STEP2
@@ -372,7 +374,7 @@
     return E_FAIL;
 
   g_hWnd = CreateWindowEx(
-      NULL, _T("MY_WINDOWS_CLASS"),
+      0, _T("MY_WINDOWS_CLASS"),
       _T("hello_nacl"), WS_OVERLAPPEDWINDOW,
       0, 0, 640, 480, NULL, NULL, g_hInstance, NULL);