ReactOS 0.4.16-dev-433-g6363f78
|
#include <ntddk.h>
#include "fx.hpp"
#include "fxldr.h"
#include "fxlibrarycommon.h"
#include "fxtelemetry.hpp"
#include "wdfversionlog.h"
#include "minwindef.h"
Go to the source code of this file.
Macros | |
#define | VF_FX_DYNAMICS_GENERATE_TABLE 1 |
#define | EVTLOG_DDI_COUNT_ERROR_MAX_LEN (53 + MAX_PATH) |
Functions | |
VOID | GetTriageInfo (VOID) |
BOOLEAN | IsClientInfoValid (_In_ PCLIENT_INFO ClientInfo) |
VOID | ReportDdiFunctionCountMismatch (_In_ PCUNICODE_STRING ServiceName, _In_ ULONG ActualFunctionCount, _In_ ULONG ExpectedFunctionCount) |
_Must_inspect_result_ NTSTATUS | FxLibraryCommonCommission (VOID) |
_Must_inspect_result_ NTSTATUS | FxLibraryCommonDecommission (VOID) |
_Must_inspect_result_ NTSTATUS | FxLibraryCommonRegisterClient (__inout PWDF_BIND_INFO Info, __deref_out PWDF_DRIVER_GLOBALS *WdfDriverGlobals, __in_opt PCLIENT_INFO ClientInfo) |
_Must_inspect_result_ NTSTATUS | FxLibraryCommonUnregisterClient (__in PWDF_BIND_INFO Info, __in PWDF_DRIVER_GLOBALS WdfDriverGlobals) |
VOID | GetEnhancedVerifierOptions (__in PCLIENT_INFO ClientInfo, __out PULONG Options) |
VOID | LibraryLogEvent (__in PDRIVER_OBJECT DriverObject, __in NTSTATUS ErrorCode, __in NTSTATUS FinalStatus, __in PWSTR ErrorInsertionString, __in_bcount(RawDataLen) PVOID RawDataBuf, __in USHORT RawDataLen) |
Variables | |
static WDFOBJECT_TRIAGE_INFO | _WdfObjectTriageInfo = {0} |
static WDFCONTEXT_TRIAGE_INFO | _WdfContextTriageInfo = {0} |
static WDFCONTEXTTYPE_TRIAGE_INFO | _WdfContextTypeTriageInfo = {0} |
static WDFQUEUE_TRIAGE_INFO | _WdfQueueTriageInfo = {0} |
static WDFIRPQUEUE_TRIAGE_INFO | _WdfIrpQueueTriageInfo = {0} |
static WDFREQUEST_TRIAGE_INFO | _WdfRequestTriageInfo = {0} |
static WDFDEVICE_TRIAGE_INFO | _WdfDeviceTriageInfo = {0} |
static WDFIRP_TRIAGE_INFO | _WdfIrpTriageInfo = {0} |
static WDFFWDPROGRESS_TRIAGE_INFO | _WdfFwdProgressTriageInfo = {0} |
WDF_TRIAGE_INFO | g_WdfTriageInfo |
Definition at line 18 of file fxlibrarycommon.cpp.
#define VF_FX_DYNAMICS_GENERATE_TABLE 1 |
Definition at line 12 of file fxlibrarycommon.cpp.
_Must_inspect_result_ NTSTATUS FxLibraryCommonCommission | ( | VOID | ) |
Definition at line 224 of file fxlibrarycommon.cpp.
_Must_inspect_result_ NTSTATUS FxLibraryCommonDecommission | ( | VOID | ) |
Definition at line 293 of file fxlibrarycommon.cpp.
_Must_inspect_result_ NTSTATUS FxLibraryCommonRegisterClient | ( | __inout PWDF_BIND_INFO | Info, |
__deref_out PWDF_DRIVER_GLOBALS * | WdfDriverGlobals, | ||
__in_opt PCLIENT_INFO | ClientInfo | ||
) |
Definition at line 330 of file fxlibrarycommon.cpp.
Referenced by WDF_LIBRARY_REGISTER_CLIENT().
_Must_inspect_result_ NTSTATUS FxLibraryCommonUnregisterClient | ( | __in PWDF_BIND_INFO | Info, |
__in PWDF_DRIVER_GLOBALS | WdfDriverGlobals | ||
) |
Definition at line 524 of file fxlibrarycommon.cpp.
Referenced by WDF_LIBRARY_UNREGISTER_CLIENT().
VOID GetEnhancedVerifierOptions | ( | __in PCLIENT_INFO | ClientInfo, |
__out PULONG | Options | ||
) |
Definition at line 583 of file fxlibrarycommon.cpp.
Referenced by FxLibraryCommonRegisterClient().
Definition at line 75 of file fxlibrarycommon.cpp.
Referenced by FxLibraryCommonCommission().
BOOLEAN IsClientInfoValid | ( | _In_ PCLIENT_INFO | ClientInfo | ) |
Definition at line 147 of file fxlibrarycommon.cpp.
Referenced by FxLibraryCommonRegisterClient(), and GetEnhancedVerifierOptions().
VOID LibraryLogEvent | ( | __in PDRIVER_OBJECT | DriverObject, |
__in NTSTATUS | ErrorCode, | ||
__in NTSTATUS | FinalStatus, | ||
__in PWSTR | ErrorInsertionString, | ||
__in_bcount(RawDataLen) PVOID | RawDataBuf, | ||
__in USHORT | RawDataLen | ||
) |
Definition at line 633 of file fxlibrarycommon.cpp.
Referenced by ReportDdiFunctionCountMismatch(), and WDF_LIBRARY_REGISTER_CLIENT().
VOID ReportDdiFunctionCountMismatch | ( | _In_ PCUNICODE_STRING | ServiceName, |
_In_ ULONG | ActualFunctionCount, | ||
_In_ ULONG | ExpectedFunctionCount | ||
) |
Definition at line 162 of file fxlibrarycommon.cpp.
Referenced by FxLibraryCommonRegisterClient().
|
static |
Definition at line 32 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
|
static |
Definition at line 33 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
|
static |
Definition at line 37 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
|
static |
Definition at line 39 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
|
static |
Definition at line 35 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
|
static |
Definition at line 38 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
|
static |
Definition at line 31 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
|
static |
Definition at line 34 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
|
static |
Definition at line 36 of file fxlibrarycommon.cpp.
Referenced by GetTriageInfo().
WDF_TRIAGE_INFO g_WdfTriageInfo |
Definition at line 41 of file fxlibrarycommon.cpp.