![]() |
AJA NTV2 SDK
18.0.0.2717
NTV2 SDK 18.0.0.2717
|
#include <streams.h>#include <windows.h>#include <tchar.h>#include <winperf.h>#include <wmistr.h>#include <evntrace.h>#include <strsafe.h>#include "perflog.h"Go to the source code of this file.
Macros | |
| #define | REGISTERTRACEGUIDS_NAME "RegisterTraceGuidsA" |
Functions | |
| ULONG WINAPI | PerflogCallback (WMIDPREQUESTCODE RequestCode, __in PVOID Context, __out ULONG *BufferSize, __in PVOID Buffer) |
| ULONG (__stdcall *_RegisterTraceGuids)(__in IN WMIDPREQUEST RequestAddress | |
| TRACEHANDLE (__stdcall *_GetTraceLoggerHandle)(__in PVOID Buffer) | |
| UCHAR (__stdcall *_GetTraceEnableLevel)(TRACEHANDLE TraceHandle) | |
| VOID | PerflogReadModuleLevel (HINSTANCE hInstance) |
| BOOL | PerflogInitIfEnabled (IN HINSTANCE hInstance, __in IN PPERFLOG_LOGGING_PARAMS LogParams) |
| BOOL | PerflogInitialize (__in IN PPERFLOG_LOGGING_PARAMS LogParams) |
| VOID | PerflogShutdown (VOID) |
| VOID | PerflogTraceEvent (__in PEVENT_TRACE_HEADER Event) |
| VOID | PerflogTraceEventLevel (ULONG Level, __in PEVENT_TRACE_HEADER Event) |
Variables | |
| __in IN PVOID | RequestContext |
| __in IN PVOID IN LPCGUID | ControlGuid |
| __in IN PVOID IN LPCGUID IN ULONG | GuidCount |
| __in IN PVOID IN LPCGUID IN ULONG __in IN PTRACE_GUID_REGISTRATION | TraceGuidReg |
| __in IN PVOID IN LPCGUID IN ULONG __in IN PTRACE_GUID_REGISTRATION IN LPCSTR | MofImagePath |
| __in IN PVOID IN LPCGUID IN ULONG __in IN PTRACE_GUID_REGISTRATION IN LPCSTR IN LPCSTR | MofResourceName |
| __in IN PVOID IN LPCGUID IN ULONG __in IN PTRACE_GUID_REGISTRATION IN LPCSTR IN LPCSTR __out OUT PTRACEHANDLE | RegistrationHandle |
| __in PEVENT_TRACE_HEADER | EventTrace |
| HINSTANCE | _Advapi32 |
| BOOL | EventTracingAvailable =FALSE |
| ULONG | PerflogEnableFlags |
| UCHAR | PerflogEnableLevel |
| ULONG | PerflogModuleLevel = 0 |
| void(* | OnStateChanged )(void) |
| TRACEHANDLE | PerflogTraceHandle =NULL |
| TRACEHANDLE | PerflogRegHandle |
| const INT | iDEBUGINFO = 1024 |
| #define REGISTERTRACEGUIDS_NAME "RegisterTraceGuidsA" |
Definition at line 68 of file perflog.cpp.
| ULONG WINAPI PerflogCallback | ( | WMIDPREQUESTCODE | RequestCode, |
| __in PVOID | Context, | ||
| __out ULONG * | BufferSize, | ||
| __in PVOID | Buffer | ||
| ) |
Definition at line 277 of file perflog.cpp.
| BOOL PerflogInitialize | ( | __in IN PPERFLOG_LOGGING_PARAMS | LogParams | ) |
Definition at line 200 of file perflog.cpp.
| BOOL PerflogInitIfEnabled | ( | IN HINSTANCE | hInstance, |
| __in IN PPERFLOG_LOGGING_PARAMS | LogParams | ||
| ) |
Definition at line 183 of file perflog.cpp.
| VOID PerflogReadModuleLevel | ( | HINSTANCE | hInstance | ) |
Definition at line 123 of file perflog.cpp.
| VOID PerflogShutdown | ( | VOID | ) |
Definition at line 257 of file perflog.cpp.
| VOID PerflogTraceEvent | ( | __in PEVENT_TRACE_HEADER | Event | ) |
Definition at line 323 of file perflog.cpp.
| VOID PerflogTraceEventLevel | ( | ULONG | Level, |
| __in PEVENT_TRACE_HEADER | Event | ||
| ) |
Definition at line 335 of file perflog.cpp.
| TRACEHANDLE | ( | __stdcall * | _GetTraceLoggerHandle | ) |
| UCHAR | ( | __stdcall * | _GetTraceEnableLevel | ) |
| ULONG | ( | __stdcall * | _RegisterTraceGuids | ) |
| HINSTANCE _Advapi32 |
Definition at line 98 of file perflog.cpp.
| __in IN PVOID IN LPCGUID ControlGuid |
Definition at line 60 of file perflog.cpp.
| __in PEVENT_TRACE_HEADER EventTrace |
Definition at line 96 of file perflog.cpp.
| BOOL EventTracingAvailable =FALSE |
Definition at line 104 of file perflog.cpp.
Definition at line 61 of file perflog.cpp.
| const INT iDEBUGINFO = 1024 |
Definition at line 114 of file perflog.cpp.
Definition at line 63 of file perflog.cpp.
| __in IN PVOID IN LPCGUID IN ULONG __in IN PTRACE_GUID_REGISTRATION IN LPCSTR IN LPCSTR MofResourceName |
Definition at line 64 of file perflog.cpp.
| void(* OnStateChanged) (void) |
Definition at line 108 of file perflog.cpp.
| ULONG PerflogEnableFlags |
Definition at line 105 of file perflog.cpp.
| UCHAR PerflogEnableLevel |
Definition at line 106 of file perflog.cpp.
| ULONG PerflogModuleLevel = 0 |
Definition at line 107 of file perflog.cpp.
| TRACEHANDLE PerflogRegHandle |
Definition at line 110 of file perflog.cpp.
| TRACEHANDLE PerflogTraceHandle =NULL |
Definition at line 109 of file perflog.cpp.
| __in IN PVOID IN LPCGUID IN ULONG __in IN PTRACE_GUID_REGISTRATION IN LPCSTR IN LPCSTR __out OUT PTRACEHANDLE RegistrationHandle |
Definition at line 66 of file perflog.cpp.
| __in IN PVOID RequestContext |
Definition at line 59 of file perflog.cpp.
Definition at line 62 of file perflog.cpp.