| Last change
 on this file since 36 was             5, checked in by bart, 17 years ago | 
        
          | 
Initial check in of port driver source
 | 
        
          | File size:
            1.4 KB | 
      
      
| Line |  | 
|---|
| 1 | #ifndef PDFHELP_INCLUDED | 
|---|
| 2 | #define PDFHELP_INCLUDED | 
|---|
| 3 |  | 
|---|
| 4 | BOOL APIENTRY CALLAssociateHelpInstance (HWND hwndHelpInstance, HWND hwndApp); | 
|---|
| 5 | BOOL APIENTRY CALLDestroyHelpInstance (HWND hwndHelpInstance); | 
|---|
| 6 | HWND APIENTRY CALLCreateHelpInstance (HAB hab,PHELPINIT phinitHMInitStructure); | 
|---|
| 7 | HWND APIENTRY CALLQueryHelpInstance (HWND hwndApp); | 
|---|
| 8 |  | 
|---|
| 9 | BOOL (* APIENTRY pfnWinAssociateHelpInstance)(HWND, HWND); | 
|---|
| 10 | BOOL (* APIENTRY pfnWinCreateHelpInstance)(HAB, PHELPINIT); | 
|---|
| 11 | BOOL (* APIENTRY pfnWinDestroyHelpInstance)(HWND); | 
|---|
| 12 | BOOL (* APIENTRY pfnWinQueryHelpInstance)(HWND); | 
|---|
| 13 |  | 
|---|
| 14 | VOID EXPENTRY InitializeHelp(VOID); | 
|---|
| 15 | BOOL EXPENTRY SetHelpStubHook(VOID); | 
|---|
| 16 | VOID EXPENTRY ReleaseHelpStubHook(VOID); | 
|---|
| 17 | INT  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 | */ | 
|---|
| 23 | HMODULE  hvHelpmgrModule; | 
|---|
| 24 |  | 
|---|
| 25 | HWND hwndHelp ; | 
|---|
| 26 | BOOL HelpStubHookIsSet;        /* for help */ | 
|---|
| 27 | BOOL HelpAlreadyInitialized;   /* for help */ | 
|---|
| 28 |  | 
|---|
| 29 | #define PRT_HELPFILE_NAME         "WPHELP.HLP" | 
|---|
| 30 |  | 
|---|
| 31 | /* | 
|---|
| 32 | ** HELPINIT -- help manager initialization structure | 
|---|
| 33 | */ | 
|---|
| 34 | static 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.