8 #define WIN32_NO_STATUS
26 #define EnableDlgItem(hDlg, nID, bEnable) \
27 EnableWindow(GetDlgItem((hDlg), (nID)), (bEnable))
29 /* Shared header with the GUI Terminal Front-End from consrv.dll */
30 #include "concfg.h" // in /winsrv/concfg/
32 typedef enum _TEXT_TYPE
39 extern HINSTANCE hApplet
;
40 extern PCONSOLE_STATE_INFO ConInfo
;
41 extern HFONT hCurrentFont
;
43 VOID
ApplyConsoleInfo(HWND hwndDlg
);
48 IN HINSTANCE hInstance
);
51 UnRegisterWinPrevClass(
52 IN HINSTANCE hInstance
);
57 IN LPDRAWITEMSTRUCT drawItem
,
58 IN PCONSOLE_STATE_INFO pConInfo
,
59 IN TEXT_TYPE TextMode
);
64 typedef INT (*PLIST_GETCOUNT
)(IN
struct _LIST_CTL
* ListCtl
);
65 typedef ULONG_PTR (*PLIST_GETDATA
)(IN
struct _LIST_CTL
* ListCtl
, IN INT Index
);
67 typedef struct _LIST_CTL
70 PLIST_GETCOUNT GetCount
;
71 PLIST_GETDATA GetData
;
72 } LIST_CTL
, *PLIST_CTL
;
75 BisectListSortedByValueEx(
80 OUT PUINT pValueItem OPTIONAL
,
81 IN BOOL BisectRightOrLeft
);
84 BisectListSortedByValue(
87 OUT PUINT pValueItem OPTIONAL
,
88 IN BOOL BisectRightOrLeft
);
90 #endif /* CONSOLE_H__ */