#include <windows.h>
#include <string.h>
#include <winperf.h>
#include "userctrs.h"
#include "perfmsg.h"
#include "perfutil.h"
#include "userdata.h"
Go to the source code of this file.
Defines | |
#define | INITIAL_SIZE 1024L |
#define | EXTEND_SIZE 1024L |
#define | DIGIT 1 |
#define | DELIMITER 2 |
#define | ENDOFSTRING 3 |
#define | INVALID 4 |
#define | EvalThisChar(c, d) |
Functions | |
HANDLE | MonOpenEventLog () |
VOID | MonCloseEventLog () |
DWORD | GetQueryType (IN LPWSTR lpValue) |
DWORD | IsNumberInUnicodeList (IN LPWSTR lpwszUnicodeList) |
Variables | |
ULONG | ulInfoBufferSize = 0 |
HANDLE | hEventLog = NULL |
DWORD | dwLogUsers = 0 |
DWORD | MESSAGE_LEVEL = 0 |
WCHAR | GLOBAL_STRING [] = L"Global" |
WCHAR | FOREIGN_STRING [] = L"Foreign" |
WCHAR | COSTLY_STRING [] = L"Costly" |
WCHAR | NULL_STRING [] = L"\0" |
USER_DATA_DEFINITION | UserDataDefinition |
CS_DATA_DEFINITION | CSDataDefinition |
|
Definition at line 55 of file perfutil.c. Referenced by IsNumberInUnicodeList(). |
|
Definition at line 54 of file perfutil.c. Referenced by IsNumberInUnicodeList(). |
|
Definition at line 56 of file perfutil.c. Referenced by IsNumberInUnicodeList(). |
|
Value: Definition at line 58 of file perfutil.c. Referenced by IsNumberInUnicodeList(). |
|
Definition at line 27 of file perfutil.c. |
|
Definition at line 26 of file perfutil.c. |
|
Definition at line 57 of file perfutil.c. |
|
Definition at line 151 of file perfutil.c. References BOOL, COSTLY_STRING, DWORD, FALSE, FOREIGN_STRING, GLOBAL_STRING, QUERY_COSTLY, QUERY_FOREIGN, QUERY_GLOBAL, QUERY_ITEMS, and TRUE. Referenced by CollectUserPerformanceData().
|
|
Definition at line 236 of file perfutil.c. References BOOL, CSDataDefinition, _CS_DATA_DEFINITION::CSObjectType, DELIMITER, DIGIT, DWORD, ENDOFSTRING, EvalThisChar, FALSE, INVALID, QUERY_CS, QUERY_USER, TRUE, UserDataDefinition, and _USER_DATA_DEFINITION::UserObjectType.
|
|
Definition at line 131 of file perfutil.c. References dwLogUsers, hEventLog, LOG_DEBUG, NULL, REPORT_INFORMATION, and VOID(). Referenced by CloseUserPerformanceData().
|
|
Definition at line 65 of file perfutil.c. References APP_NAME, dwLogUsers, DWORD, hEventLog, LOG_DEBUG, MESSAGE_LEVEL, MESSAGE_LEVEL_DEFAULT, NULL, and REPORT_INFORMATION. Referenced by OpenUserPerformanceData().
|
|
Definition at line 40 of file perfutil.c. Referenced by GetQueryType(). |
|
Definition at line 47 of file perfutil.c. |
|
Definition at line 36 of file perfutil.c. Referenced by MonCloseEventLog(), and MonOpenEventLog(). |
|
Definition at line 39 of file perfutil.c. Referenced by GetQueryType(). |
|
Definition at line 38 of file perfutil.c. Referenced by GetQueryType(). |
|
Definition at line 34 of file perfutil.c. Referenced by MonCloseEventLog(), MonOpenEventLog(), and OpenUserPerformanceData(). |
|
Definition at line 37 of file perfutil.c. Referenced by MonOpenEventLog(). |
|
Definition at line 41 of file perfutil.c. |
|
Definition at line 33 of file perfutil.c. |
|
Definition at line 46 of file perfutil.c. |