ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

eventvwr.c File Reference
#include "eventvwr.h"
#include <windows.h>
#include <commctrl.h>
#include <stdio.h>
#include <time.h>

Go to the source code of this file.

Defines

#define EVENT_MESSAGE_EVENTTEXT_BUFFER   1024*10
#define EVENT_MESSAGE_FILE_BUFFER   1024*10
#define EVENT_DLL_SEPARATOR   L";"
#define EVENT_MESSAGE_FILE   L"EventMessageFile"
#define EVENT_CATEGORY_MESSAGE_FILE   L"CategoryMessageFile"
#define EVENT_PARAMETER_MESSAGE_FILE   L"ParameterMessageFile"
#define MAX_LOADSTRING   255

Functions

ATOM MyRegisterClass (HINSTANCE hInstance)
BOOL InitInstance (HINSTANCE, int)
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM)
INT_PTR CALLBACK About (HWND, UINT, WPARAM, LPARAM)
INT_PTR CALLBACK EventDetails (HWND, UINT, WPARAM, LPARAM)
static INT_PTR CALLBACK StatusMessageWindowProc (HWND, UINT, WPARAM, LPARAM)
int APIENTRY wWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
static void FreeRecords (void)
VOID EventTimeToSystemTime (DWORD EventTime, SYSTEMTIME *pSystemTime)
void TrimNulls (LPWSTR s)
BOOL GetEventMessageFileDLL (IN LPCWSTR lpLogName, IN LPCWSTR SourceName, IN LPCWSTR EntryName, OUT LPWSTR ExpandedName)
BOOL GetEventCategory (IN LPCWSTR KeyName, IN LPCWSTR SourceName, IN EVENTLOGRECORD *pevlr, OUT LPWSTR CategoryName)
BOOL GetEventMessage (IN LPCWSTR KeyName, IN LPCWSTR SourceName, IN EVENTLOGRECORD *pevlr, OUT LPWSTR EventText)
VOID GetEventType (IN WORD dwEventType, OUT LPWSTR eventTypeText)
BOOL GetEventUserName (EVENTLOGRECORD *pelr, OUT LPWSTR pszUser)
static DWORD WINAPI ShowStatusMessageThread (IN LPVOID lpParameter)
BOOL QueryEventMessages (LPWSTR lpMachineName, LPWSTR lpLogName)
VOID Refresh (VOID)
VOID DisplayEvent (HWND hDlg)
static INT_PTR CALLBACK StatusMessageWindowProc (IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam)

Variables

static const LPWSTR EVENT_SOURCE_APPLICATION = "Application"
static const LPWSTR EVENT_SOURCE_SECURITY = "Security"
static const LPWSTR EVENT_SOURCE_SYSTEM = "System"
static const WCHAR szWindowClass [] = "EVENTVWR"
HINSTANCE hInst
WCHAR szTitle [MAX_LOADSTRING]
HWND hwndMainWindow
HWND hwndListView
HWND hwndStatus
PEVENTLOGRECORD * g_RecordPtrs = NULL
DWORD g_TotalRecords = 0
LPWSTR lpSourceLogName = NULL
LPWSTR lpComputerName = NULL

Generated on Sat May 26 2012 04:40:05 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.