\r
FILE *debugFP;\r
\r
-HWND WINAPI\r
-HtmlHelp( HWND hwnd, LPCSTR helpFile, UINT action, DWORD_PTR data )\r
+int\r
+HtmlHelp( HWND hwnd, LPCSTR helpFile, UINT action, DWORD data )\r
{\r
PROCESS_INFORMATION helpProcInfo;\r
STARTUPINFO siStartInfo;\r
static int status = 0;\r
FILE *f;\r
\r
- if(status < 0) return NULL;\r
+ if(status < 0) return 0;\r
\r
if(!status) {\r
f = fopen(helpFile, "r");\r
if(f == NULL) {\r
status = -1;\r
- return NULL;\r
+ return 0;\r
}\r
status = 1;\r
fclose(f);\r
\r
//HWND WINAPI\r
int\r
-MyHelp(HWND hwnd, LPSTR helpFile, UINT action, DWORD_PTR data)\r
+MyHelp(HWND hwnd, LPSTR helpFile, UINT action, DWORD data)\r
{\r
static int status = 0;\r
FILE *f;\r
\r
- if(status < 0) return NULL;\r
+ if(status < 0) return 0;\r
\r
if(!status) {\r
f = fopen(helpFile, "r");\r
if(f == NULL) {\r
status = -1;\r
- return NULL;\r
+ return 0;\r
}\r
status = 1;\r
fclose(f);\r