7 #define WIN32_NO_STATUS
23 #define EnableDlgItem(hDlg, nID, bEnable) \
24 EnableWindow(GetDlgItem((hDlg), (nID)), (bEnable))
26 /* Shared header with the GUI Terminal Front-End from consrv.dll */
27 #include "settings.h" // in /winsrv/concfg/
29 typedef enum _TEXT_TYPE
36 extern PCONSOLE_STATE_INFO ConInfo
;
38 VOID
ApplyConsoleInfo(HWND hwndDlg
);
39 BYTE
CodePageToCharSet(UINT CodePage
);
40 VOID
PaintConsole(LPDRAWITEMSTRUCT drawItem
, PCONSOLE_STATE_INFO pConInfo
);
41 BOOL
PaintText(LPDRAWITEMSTRUCT drawItem
, PCONSOLE_STATE_INFO pConInfo
, TEXT_TYPE TextMode
);
46 typedef INT (*PLIST_GETCOUNT
)(IN
struct _LIST_CTL
* ListCtl
);
47 typedef ULONG_PTR (*PLIST_GETDATA
)(IN
struct _LIST_CTL
* ListCtl
, IN INT Index
);
49 typedef struct _LIST_CTL
52 PLIST_GETCOUNT GetCount
;
53 PLIST_GETDATA GetData
;
54 } LIST_CTL
, *PLIST_CTL
;
57 BisectListSortedByValueEx(
62 OUT PUINT pValueItem OPTIONAL
,
63 IN BOOL BisectRightOrLeft
);
66 BisectListSortedByValue(
69 OUT PUINT pValueItem OPTIONAL
,
70 IN BOOL BisectRightOrLeft
);
72 #endif /* CONSOLE_H__ */