source: trunk/pdr/include/echelp.h

Last change on this file was 5, checked in by bart, 17 years ago

Initial check in of port driver source

File size: 1.4 KB
RevLine 
[5]1#ifndef PDFHELP_INCLUDED
2#define PDFHELP_INCLUDED
3
4BOOL APIENTRY CALLAssociateHelpInstance (HWND hwndHelpInstance, HWND hwndApp);
5BOOL APIENTRY CALLDestroyHelpInstance (HWND hwndHelpInstance);
6HWND APIENTRY CALLCreateHelpInstance (HAB hab,PHELPINIT phinitHMInitStructure);
7HWND APIENTRY CALLQueryHelpInstance (HWND hwndApp);
8
9BOOL (* APIENTRY pfnWinAssociateHelpInstance)(HWND, HWND);
10BOOL (* APIENTRY pfnWinCreateHelpInstance)(HAB, PHELPINIT);
11BOOL (* APIENTRY pfnWinDestroyHelpInstance)(HWND);
12BOOL (* APIENTRY pfnWinQueryHelpInstance)(HWND);
13
14VOID EXPENTRY InitializeHelp(VOID);
15BOOL EXPENTRY SetHelpStubHook(VOID);
16VOID EXPENTRY ReleaseHelpStubHook(VOID);
17INT EXPENTRY HelpStubHook( HAB AppHAB, USHORT Context, USHORT IdTopic,
18 USHORT IdSubTopic, PRECTL RectLPtr );
19
20/*
21** Global handle for helpmgr module, so it is only loaded once
22*/
23HMODULE hvHelpmgrModule;
24
25HWND hwndHelp ;
26BOOL HelpStubHookIsSet; /* for help */
27BOOL HelpAlreadyInitialized; /* for help */
28
29#define PRT_HELPFILE_NAME "WPHELP.HLP"
30
31/*
32** HELPINIT -- help manager initialization structure
33*/
34static HELPINIT hmiHelpData = {
35 sizeof(HELPINIT),
36 0L,
37 (PSZ) NULL,
38 (PHELPTABLE) NULL,
39 (HMODULE) NULL,
40 (HMODULE) NULL,
41 (USHORT) NULL,
42 (USHORT) NULL,
43 (PSZ) NULL,
44 CMIC_HIDE_PANEL_ID,
45 (PSZ) PRT_HELPFILE_NAME
46};
47
48
49#endif
Note: See TracBrowser for help on using the repository browser.