Changeset 359
- Timestamp:
- Jun 18, 2009, 8:54:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hlpmgr/misc.h
r26 r359 23 23 typedef struct instance 24 24 { 25 PIOINFO IOInfo; 26 PIOINFO IOInfoRoot; 25 PIOINFO IOInfo; /* active database */ 26 PIOINFO IOInfoRoot; /* list of database */ 27 27 ULONG LastError; 28 USHORT BmOrHm; /* TRUE BM else HM */ 29 HWND hwndInstance; /* instance object window 30 hwnd*/ 31 HWND BmHelpInstance; /* handle to BM help inst 32 */ 28 USHORT BmOrHm; /* TRUE BM else HM */ 29 HWND hwndInstance; /* instance object window hwnd*/ 30 HWND BmHelpInstance; /* handle to BM help inst */ 33 31 PMNODE MemRoot; 34 PMNODE TOCMemRoot; 32 PMNODE TOCMemRoot; 35 33 PMNODE IndexMemRoot; 36 34 USHORT StatusFlag; … … 45 43 HWND HistoryFhWnd; 46 44 HWND LibraryFhWnd; 47 PPAGE PageRoot; /* active viewport ptr */ 48 PPAGE PageLinkRoot; /* root of viewport list */ 49 PPAGE ParentPage; /* Parent page of current 50 page */ 45 PPAGE PageRoot; /* active viewport ptr */ 46 PPAGE PageLinkRoot; /* root of viewport list */ 47 PPAGE ParentPage; /* Parent page of current page */ 51 48 PHISTORYINFO HistoryInfo; 52 49 PLIBRARYINFO LibraryInfo; 53 50 PCH SearchStr; 54 USHORT SearchFlag; /* if set search page before 55 display */ 56 ULONG FirstWord; /* previous page first word index 57 */ 51 USHORT SearchFlag; /* if set search page before display */ 52 ULONG FirstWord; /* previous page first word index */ 58 53 USHORT TotNumIndexEntries; 59 PINDEX *IndexRoot; /* pointer to the root of indexes array 60 */ 54 PINDEX *IndexRoot; /* pointer to the root of indexes array */ 61 55 PCH PageTitle; 62 PTOCDATA TOCData; /* pointer to the TOC control data struct 63 */ 64 /* @CGA */ 65 COUNTU TotNumTOCEntries;/* total number of mult toc entry */ 66 PTOCITEM *TOCRoot; /* pointer to the first item in TOC array 67 */ 68 PINXDATA IndexData; /* pointer to the INX control data struct 69 */ 70 PINDEX *SearchIndexRoot; /* pointer to the root of search index 71 array */ 72 BYTE TOCUseCount; /* use count for toc */ 73 BYTE IndexUseCount; /* use count for Index */ 74 USHORT IndexMode; /* flag for ICmd or main Index mode */ 75 PBMINFO BMInfo; /* pointer to the bookmark info structure 76 */ 77 PFNWP FrameProcAdr; /* frame proc adr */ 78 USHORT LineHeight; /* fix scroll line height */ 79 USHORT StdCharWidth; /* default font width */ 80 USHORT StdCharDescender; /* default max descender */ 81 USHORT CharHeight; /* local font height */ 82 USHORT CharWidth; /* local font width */ 83 USHORT CharDescender; /* loacal max descender */ 84 USHORT PMIconWidth; /* + & - Icon width */ 85 HBITMAP HPBitmap; /* handle of + bitmap */ 86 HBITMAP HMBitmap; /* handle of - Bitmap */ 87 USHORT ScrX; /* screen height */ 88 USHORT ScrY; /* screen width */ 89 USHORT NextWindowID; /* id for next toc window */ 90 USHORT CxBorder; /* thicknes of cx border */ 91 USHORT CyBorder; /* thicknes of cy border */ 92 CP GCPData; 93 INX ActiveTOCIndex; /* TOC index for active page */ 94 HACCEL ChildSyshAccel; /* common sys menu for all child 95 wnd*/ 96 HBITMAP ChildSysHBitmap; /* common sys menu bitmap handle 97 */ 98 HAB hAB; /* apps hab if help manager */ 99 HMODULE hwndModule; /* help dll module */ 100 PCH HelpWindowTitle; /* Help window title */ 101 PHELPTABLEX RootHelpTable; /* Main help table */ 102 USHORT HelpTableID; /* Help table ID */ 103 USHORT ShowPanelID; /* Show panel id flag */ 104 USHORT HelpHelpID; /* Help on help panel ID */ 105 HWND hwndAssociated; /* this instance is associated 106 */ 107 HWND hwndActiveWindow; /* active window handle */ 108 HWND hwndRelativeWindow; /* Relative window handle */ 109 HMODULE hmodAccelActionBarModule; 110 ULONG idAccelTable; /* @WRN */ 111 ULONG idActionBar; /* @WRN */ 112 PCH GTutorial; /* globle tutorial name */ 113 PCH LTutorial; /* local tutorial name */ 114 ULONG HorzPelsPerPointSize; 115 ULONG VertPelsPerPointSize; 116 HMODULE hACVPModule; /* globle AC viewport DLL handle 117 */ 118 HWND ACVPComhWnd; /* AC viewport communication 119 hwnd */ 120 PEXTLNKDATA pExtLnkData; /* TOC new style passing info */ 121 HWND BMBasehWnd; /* book manager base window 122 handle */ 123 HWND BMBookhWnd; /* book manager book handle */ 124 USHORT Entry16; 125 PRECTL pCoverPageRect; /* pointer to coverpage init window 126 rect */ 127 USHORT usMode; 128 PVOID pUserData; /* user data info */ 129 PFONTDATA pPrtFontData; /* FontData use in printing mode 130 */ 131 PUSERINFO pUserInfoRoot; /* userinfo list root */ 132 HWND hwndPrintDlg; /* Print Dialog Window Handle */ 133 HWND hwndEntry; /* Window from which help was 134 requested */ 135 /* ie, which HELPTABLE entry was used 136 */ 137 BOOL resourceFlag; /* Help table flag in resource file */ 138 BOOL DLLError; 139 USHORT fIsDocBidi; /* Bidi flag showing doc. lang. 140 */ 141 } INSTANCE, *PINSTANCE; 56 PTOCDATA TOCData; /* pointer to the TOC control data struct */ 57 /* @CGA */ 58 COUNTU TotNumTOCEntries; /* total number of mult toc entry */ 59 PTOCITEM *TOCRoot; /* pointer to the first item in TOC array */ 60 PINXDATA IndexData; /* pointer to the INX control data struct */ 61 PINDEX *SearchIndexRoot; /* pointer to the root of search index array */ 62 BYTE TOCUseCount; /* use count for toc */ 63 BYTE IndexUseCount; /* use count for Index */ 64 USHORT IndexMode; /* flag for ICmd or main Index mode */ 65 PBMINFO BMInfo; /* pointer to the bookmark info structure */ 66 PFNWP FrameProcAdr; /* frame proc adr */ 67 USHORT LineHeight; /* fix scroll line height */ 68 USHORT StdCharWidth; /* default font width */ 69 USHORT StdCharDescender; /* default max descender */ 70 USHORT CharHeight; /* local font height */ 71 USHORT CharWidth; /* local font width */ 72 USHORT CharDescender; /* loacal max descender */ 73 USHORT PMIconWidth; /* + & - Icon width */ 74 HBITMAP HPBitmap; /* handle of + bitmap */ 75 HBITMAP HMBitmap; /* handle of - Bitmap */ 76 USHORT ScrX; /* screen height */ 77 USHORT ScrY; /* screen width */ 78 USHORT NextWindowID; /* id for next toc window */ 79 USHORT CxBorder; /* thicknes of cx border */ 80 USHORT CyBorder; /* thicknes of cy border */ 81 CP GCPData; 82 INX ActiveTOCIndex; /* TOC index for active page */ 83 HACCEL ChildSyshAccel; /* common sys menu for all child wnd*/ 84 HBITMAP ChildSysHBitmap; /* common sys menu bitmap handle */ 85 HAB hAB; /* apps hab if help manager */ 86 HMODULE hwndModule; /* help dll module */ 87 PCH HelpWindowTitle; /* Help window title */ 88 PHELPTABLEX RootHelpTable; /* Main help table */ 89 USHORT HelpTableID; /* Help table ID */ 90 USHORT ShowPanelID; /* Show panel id flag */ 91 USHORT HelpHelpID; /* Help on help panel ID */ 92 HWND hwndAssociated; /* this instance is associated */ 93 HWND hwndActiveWindow; /* active window handle */ 94 HWND hwndRelativeWindow; /* Relative window handle */ 95 HMODULE hmodAccelActionBarModule; 96 ULONG idAccelTable; /* @WRN */ 97 ULONG idActionBar; /* @WRN */ 98 PCH GTutorial; /* globle tutorial name */ 99 PCH LTutorial; /* local tutorial name */ 100 ULONG HorzPelsPerPointSize; 101 ULONG VertPelsPerPointSize; 102 HMODULE hACVPModule; /* globle AC viewport DLL handle */ 103 HWND ACVPComhWnd; /* AC viewport communication hwnd */ 104 PEXTLNKDATA pExtLnkData; /* TOC new style passing info */ 105 HWND BMBasehWnd; /* book manager base window handle */ 106 HWND BMBookhWnd; /* book manager book handle */ 107 USHORT Entry16; 108 PRECTL pCoverPageRect; /* pointer to coverpage init window rect */ 109 USHORT usMode; 110 PVOID pUserData; /* user data info */ 111 PFONTDATA pPrtFontData; /* FontData use in printing mode */ 112 PUSERINFO pUserInfoRoot; /* userinfo list root */ 113 HWND hwndPrintDlg; /* Print Dialog Window Handle */ 114 HWND hwndEntry; /* Window from which help was requested */ 115 /* ie, which HELPTABLE entry was used */ 116 BOOL resourceFlag; /* Help table flag in resource file */ 117 BOOL DLLError; 118 USHORT fIsDocBidi; /* Bidi flag showing doc. lang. */ 119 } INSTANCE, *PINSTANCE; 120
Note:
See TracChangeset
for help on using the changeset viewer.