source: branches/2.20_branch/hlpmgr/misc.h@ 438

Last change on this file since 438 was 359, checked in by RBRi, 16 years ago

reformated

  • Property svn:eol-style set to native
File size: 6.1 KB
Line 
1/* Original View help instance thing */
2
3typedef void* PIOINFO;
4typedef void* PMNODE;
5typedef void* PPAGE;
6typedef void* PHISTORYINFO;
7typedef void* PLIBRARYINFO;
8typedef void* PINXDATA;
9typedef void* PINDEX;
10typedef void* PTOCDATA;
11typedef USHORT COUNTU;
12typedef void* PTOCITEM;
13typedef void* PBMINFO;
14typedef void* PEXTLNKDATA;
15typedef USHORT INX;
16typedef void* PFONTDATA;
17typedef void* PUSERINFO;
18typedef USHORT CP;
19
20typedef void* PHELPTABLEX;
21
22 /* define instance data */
23typedef struct instance
24{
25 PIOINFO IOInfo; /* active database */
26 PIOINFO IOInfoRoot; /* list of database */
27 ULONG LastError;
28 USHORT BmOrHm; /* TRUE BM else HM */
29 HWND hwndInstance; /* instance object window hwnd*/
30 HWND BmHelpInstance; /* handle to BM help inst */
31 PMNODE MemRoot;
32 PMNODE TOCMemRoot;
33 PMNODE IndexMemRoot;
34 USHORT StatusFlag;
35 USHORT WindowStatus;
36 HWND CoverPageFhWnd;
37 HWND CoverPageChWnd;
38 HWND TOCFhWnd;
39 HWND TOCChWnd;
40 HWND IndexFhWnd;
41 HWND IndexChWnd;
42 HWND SearchFhWnd;
43 HWND HistoryFhWnd;
44 HWND LibraryFhWnd;
45 PPAGE PageRoot; /* active viewport ptr */
46 PPAGE PageLinkRoot; /* root of viewport list */
47 PPAGE ParentPage; /* Parent page of current page */
48 PHISTORYINFO HistoryInfo;
49 PLIBRARYINFO LibraryInfo;
50 PCH SearchStr;
51 USHORT SearchFlag; /* if set search page before display */
52 ULONG FirstWord; /* previous page first word index */
53 USHORT TotNumIndexEntries;
54 PINDEX *IndexRoot; /* pointer to the root of indexes array */
55 PCH PageTitle;
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 TracBrowser for help on using the repository browser.