ReactOS 0.4.16-dev-282-g4d0a26d
eventvwr.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <winnls.h>
#include <winreg.h>
#include <ndk/rtlfuncs.h>
#include <strsafe.h>
#include <commctrl.h>
#include <commdlg.h>
#include <richedit.h>
#include <windowsx.h>
#include "resource.h"
Include dependency graph for eventvwr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _EVENTLOG
 
struct  _EVENTLOGFILTER
 

Macros

#define ASSERT(x)   assert(x)
 
#define WIN32_NO_STATUS
 
#define ROUND_DOWN(n, align)   (((ULONG)n) & ~((align) - 1l))
 
#define ROUND_UP(n, align)   ROUND_DOWN(((ULONG)n) + (align) - 1, (align))
 
#define AURL_ENABLEURL   1
 
#define AURL_ENABLEEMAILADDR   2
 
#define AURL_ENABLETELNO   4
 
#define AURL_ENABLEEAURLS   8
 
#define AURL_ENABLEDRIVELETTERS   16
 
#define EnableDlgItem(hDlg, nID, bEnable)    EnableWindow(GetDlgItem((hDlg), (nID)), (bEnable))
 
#define ProgressBar_SetPos(hwndCtl, pos)    ((int)SNDMSG((hwndCtl),PBM_SETPOS,(WPARAM)(int)(pos),(LPARAM)0))
 
#define ProgressBar_SetRange(hwndCtl, range)    ((int)SNDMSG((hwndCtl),PBM_SETRANGE,(WPARAM)0,(LPARAM)(range)))
 
#define ProgressBar_SetStep(hwndCtl, inc)    ((int)SNDMSG((hwndCtl),PBM_SETSTEP,(WPARAM)(int)(inc),(LPARAM)0))
 
#define ProgressBar_StepIt(hwndCtl)    ((int)SNDMSG((hwndCtl),PBM_STEPIT,(WPARAM)0,(LPARAM)0))
 
#define StatusBar_GetItemRect(hwndCtl, index, lprc)    ((BOOL)SNDMSG((hwndCtl),SB_GETRECT,(WPARAM)(int)(index),(LPARAM)(RECT*)(lprc)))
 
#define StatusBar_SetText(hwndCtl, index, data)    ((BOOL)SNDMSG((hwndCtl),SB_SETTEXT,(WPARAM)(index),(LPARAM)(data)))
 
#define WM_APP   0x8000
 

Typedefs

typedef struct _EVENTLOG EVENTLOG
 
typedef struct _EVENTLOGPEVENTLOG
 
typedef struct _EVENTLOGFILTER EVENTLOGFILTER
 
typedef struct _EVENTLOGFILTERPEVENTLOGFILTER
 

Variables

HINSTANCE hInst
 

Macro Definition Documentation

◆ ASSERT

#define ASSERT (   x)    assert(x)

Definition at line 20 of file eventvwr.h.

◆ AURL_ENABLEDRIVELETTERS

#define AURL_ENABLEDRIVELETTERS   16

Definition at line 48 of file eventvwr.h.

◆ AURL_ENABLEEAURLS

#define AURL_ENABLEEAURLS   8

Definition at line 47 of file eventvwr.h.

◆ AURL_ENABLEEMAILADDR

#define AURL_ENABLEEMAILADDR   2

Definition at line 45 of file eventvwr.h.

◆ AURL_ENABLETELNO

#define AURL_ENABLETELNO   4

Definition at line 46 of file eventvwr.h.

◆ AURL_ENABLEURL

#define AURL_ENABLEURL   1

Definition at line 44 of file eventvwr.h.

◆ EnableDlgItem

#define EnableDlgItem (   hDlg,
  nID,
  bEnable 
)     EnableWindow(GetDlgItem((hDlg), (nID)), (bEnable))

Definition at line 55 of file eventvwr.h.

◆ ProgressBar_SetPos

#define ProgressBar_SetPos (   hwndCtl,
  pos 
)     ((int)SNDMSG((hwndCtl),PBM_SETPOS,(WPARAM)(int)(pos),(LPARAM)0))

Definition at line 58 of file eventvwr.h.

◆ ProgressBar_SetRange

#define ProgressBar_SetRange (   hwndCtl,
  range 
)     ((int)SNDMSG((hwndCtl),PBM_SETRANGE,(WPARAM)0,(LPARAM)(range)))

Definition at line 60 of file eventvwr.h.

◆ ProgressBar_SetStep

#define ProgressBar_SetStep (   hwndCtl,
  inc 
)     ((int)SNDMSG((hwndCtl),PBM_SETSTEP,(WPARAM)(int)(inc),(LPARAM)0))

Definition at line 62 of file eventvwr.h.

◆ ProgressBar_StepIt

#define ProgressBar_StepIt (   hwndCtl)     ((int)SNDMSG((hwndCtl),PBM_STEPIT,(WPARAM)0,(LPARAM)0))

Definition at line 64 of file eventvwr.h.

◆ ROUND_DOWN

#define ROUND_DOWN (   n,
  align 
)    (((ULONG)n) & ~((align) - 1l))

Definition at line 33 of file eventvwr.h.

◆ ROUND_UP

#define ROUND_UP (   n,
  align 
)    ROUND_DOWN(((ULONG)n) + (align) - 1, (align))

Definition at line 34 of file eventvwr.h.

◆ StatusBar_GetItemRect

#define StatusBar_GetItemRect (   hwndCtl,
  index,
  lprc 
)     ((BOOL)SNDMSG((hwndCtl),SB_GETRECT,(WPARAM)(int)(index),(LPARAM)(RECT*)(lprc)))

Definition at line 67 of file eventvwr.h.

◆ StatusBar_SetText

#define StatusBar_SetText (   hwndCtl,
  index,
  data 
)     ((BOOL)SNDMSG((hwndCtl),SB_SETTEXT,(WPARAM)(index),(LPARAM)(data)))

Definition at line 69 of file eventvwr.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 23 of file eventvwr.h.

◆ WM_APP

#define WM_APP   0x8000

Definition at line 73 of file eventvwr.h.

Typedef Documentation

◆ EVENTLOG

◆ EVENTLOGFILTER

◆ PEVENTLOG

◆ PEVENTLOGFILTER

Variable Documentation

◆ hInst

HINSTANCE hInst
extern

Definition at line 13 of file dxdiag.c.