17 #define HELP_CONTEXT 0x0001
18 #define HELP_QUIT 0x0002
19 #define HELP_INDEX 0x0003
20 #define HELP_CONTENTS 0x0003
21 #define HELP_HELPONHELP 0x0004
22 #define HELP_SETINDEX 0x0005
23 #define HELP_SETCONTENTS 0x0005
24 #define HELP_CONTEXTPOPUP 0x0008
25 #define HELP_FORCEFILE 0x0009
26 #define HELP_KEY 0x0101
27 #define HELP_COMMAND 0x0102
28 #define HELP_PARTIALKEY 0x0105
29 #define HELP_MULTIKEY 0x0201
30 #define HELP_SETWINPOS 0x0203
33 /**********************************************************************
34 * ExitWindows [USER.7]
36 BOOL
ExitWindows(DWORD dwReturnCode
, WORD wReserved
)
38 api_assert("ExitWindows", wReserved
== 0);
39 api_assert("ExitWindows", HIWORD(dwReturnCode
) == 0);
41 dprintf_exec( stdnimp
,"PARTIAL STUB ExitWindows(%08lX, %04X)\n",
42 dwReturnCode
, wReserved
);
44 exit( LOWORD(dwReturnCode
) );
48 /**********************************************************************
51 BOOL
WinHelp(HWND hWnd
, LPSTR lpHelpFile
, WORD wCommand
, DWORD dwData
)
54 dprintf_exec(stddeb
,"WinHelp(%s, %u, %lu)\n",
55 lpHelpFile
, wCommand
, dwData
);
59 GetWindowsDirectory(str
, sizeof(str
));
60 strcat(str
, "\\winhelp.exe winhelp.hlp");
61 dprintf_exec(stddeb
,"'%s'\n", str
);
64 GetWindowsDirectory(str
, sizeof(str
));
65 strcat(str
, "\\winhelp.exe ");
66 strcat(str
, lpHelpFile
);
67 dprintf_exec(stddeb
,"'%s'\n", str
);
72 WinExec(str
, SW_SHOWNORMAL
);