20#define ASSERT(x) assert(x)
23#define WIN32_NO_STATUS
33#define ROUND_DOWN(n, align) (((ULONG)n) & ~((align) - 1l))
34#define ROUND_UP(n, align) ROUND_DOWN(((ULONG)n) + (align) - 1, (align))
44#define AURL_ENABLEURL 1
45#define AURL_ENABLEEMAILADDR 2
46#define AURL_ENABLETELNO 4
47#define AURL_ENABLEEAURLS 8
48#define AURL_ENABLEDRIVELETTERS 16
55#define EnableDlgItem(hDlg, nID, bEnable) \
56 EnableWindow(GetDlgItem((hDlg), (nID)), (bEnable))
58#define ProgressBar_SetPos(hwndCtl,pos) \
59 ((int)SNDMSG((hwndCtl),PBM_SETPOS,(WPARAM)(int)(pos),(LPARAM)0))
60#define ProgressBar_SetRange(hwndCtl,range) \
61 ((int)SNDMSG((hwndCtl),PBM_SETRANGE,(WPARAM)0,(LPARAM)(range)))
62#define ProgressBar_SetStep(hwndCtl,inc) \
63 ((int)SNDMSG((hwndCtl),PBM_SETSTEP,(WPARAM)(int)(inc),(LPARAM)0))
64#define ProgressBar_StepIt(hwndCtl) \
65 ((int)SNDMSG((hwndCtl),PBM_STEPIT,(WPARAM)0,(LPARAM)0))
67#define StatusBar_GetItemRect(hwndCtl,index,lprc) \
68 ((BOOL)SNDMSG((hwndCtl),SB_GETRECT,(WPARAM)(int)(index),(LPARAM)(RECT*)(lprc)))
69#define StatusBar_SetText(hwndCtl,index,data) \
70 ((BOOL)SNDMSG((hwndCtl),SB_SETTEXT,(WPARAM)(index),(LPARAM)(data)))
struct _EVENTLOG EVENTLOG
struct _EVENTLOGFILTER EVENTLOGFILTER
struct _EVENTLOG * PEVENTLOG
struct _EVENTLOGFILTER * PEVENTLOGFILTER
PEVENTLOG EventLogs[ANYSIZE_ARRAY]