ReactOS 0.4.16-dev-338-g34e76ad
|
Go to the source code of this file.
Macros | |
#define | FX_TELEMETRY_ENABLED(TraceHandle, Globals) (TraceHandle && IsDriverTelemetryContextInitialized(Globals)) \ |
#define | WDF_CENSUS_EVT_DATA_COMMON(FxGlobals) |
#define | WDF_CENSUS_EVT_WRITE_DRIVER_LOAD(TraceHandle, Globals, DrvImage, WdfVersion) |
#define | MIN_HOURS_BEFORE_NEXT_LOG 24 |
#define | BASE_10 (10) |
#define | WDF_LAST_TELEMETRY_LOG_TIME_VALUE L"TimeOfLastTelemetryLog" |
#define | WDF_DRIVER_IMAGE_NAME_VALUE L"ImagePath" |
#define | WDF_VERSION_STRING_SIZE_INCLUDING_SEPARATOR_CCH 10 |
Typedefs | |
typedef enum _FX_TELEMETRY_DO_ONCE_BITS | FX_TELEMETRY_DO_ONCE_BITS |
Enumerations | |
enum | _FX_TELEMETRY_DO_ONCE_BITS { DeviceStartEventBit = 0 } |
enum | FxDeviceInfoFlags : USHORT { DeviceInfoLineBasedLevelTriggeredInterrupt = 0x1 , DeviceInfoLineBasedEdgeTriggeredInterrupt = 0x2 , DeviceInfoMsiXOrSingleMsi22Interrupt = 0x4 , DeviceInfoMsi22MultiMessageInterrupt = 0x8 , DeviceInfoPassiveLevelInterrupt = 0x10 , DeviceInfoDmaBusMaster = 0x20 , DeviceInfoDmaSystem = 0x40 , DeviceInfoDmaSystemDuplex = 0x80 , DeviceInfoHasStaticChildren = 0x100 , DeviceInfoHasDynamicChildren = 0x200 , DeviceInfoIsUsingDriverWppRecorder = 0x400 } |
#define BASE_10 (10) |
Definition at line 90 of file fxtelemetry.hpp.
#define FX_TELEMETRY_ENABLED | ( | TraceHandle, | |
Globals | |||
) | (TraceHandle && IsDriverTelemetryContextInitialized(Globals)) \ |
Definition at line 45 of file fxtelemetry.hpp.
#define MIN_HOURS_BEFORE_NEXT_LOG 24 |
Definition at line 89 of file fxtelemetry.hpp.
#define WDF_CENSUS_EVT_DATA_COMMON | ( | FxGlobals | ) |
Definition at line 48 of file fxtelemetry.hpp.
#define WDF_CENSUS_EVT_WRITE_DRIVER_LOAD | ( | TraceHandle, | |
Globals, | |||
DrvImage, | |||
WdfVersion | |||
) |
Definition at line 72 of file fxtelemetry.hpp.
#define WDF_DRIVER_IMAGE_NAME_VALUE L"ImagePath" |
Definition at line 93 of file fxtelemetry.hpp.
#define WDF_LAST_TELEMETRY_LOG_TIME_VALUE L"TimeOfLastTelemetryLog" |
Definition at line 92 of file fxtelemetry.hpp.
#define WDF_VERSION_STRING_SIZE_INCLUDING_SEPARATOR_CCH 10 |
Definition at line 115 of file fxtelemetry.hpp.
Enumerator | |
---|---|
DeviceStartEventBit |
Definition at line 56 of file fxtelemetry.hpp.
Definition at line 98 of file fxtelemetry.hpp.
VOID AllocAndInitializeTelemetryContext | ( | _In_ PFX_TELEMETRY_CONTEXT * | TelemetryContext | ) |
Definition at line 46 of file fxtelemetrykm.cpp.
Referenced by FxAllocateDriverGlobals().
VOID __inline BuildStringFromPartialInfo | ( | _In_ PKEY_VALUE_PARTIAL_INFORMATION | Info, |
_Out_ PUNICODE_STRING | String | ||
) |
Definition at line 173 of file fxtelemetry.hpp.
Referenced by GetImageName().
_Must_inspect_result_ NTSTATUS GetImageName | ( | _In_ PFX_DRIVER_GLOBALS | DriverGlobals, |
_Out_ PUNICODE_STRING | ImageName | ||
) |
Definition at line 521 of file fxtelemetrykm.cpp.
Referenced by if().
VOID GetNameFromPath | ( | _In_ PCUNICODE_STRING | Path, |
_Out_ PUNICODE_STRING | Name | ||
) |
Definition at line 54 of file fxtelemetry.cpp.
Referenced by FxLibraryCommonRegisterClient(), and GetImageName().
BOOLEAN __inline IsDeviceInfoFlagSet | ( | _In_ USHORT | DeviceInfo, |
_In_ FxDeviceInfoFlags | Flag | ||
) |
Definition at line 119 of file fxtelemetry.hpp.
Referenced by GetDriverInfo().
__inline BOOLEAN IsDriverTelemetryContextInitialized | ( | _In_ PFX_DRIVER_GLOBALS | FxDrvGlobals | ) |
Definition at line 134 of file fxtelemetry.hpp.
VOID LogDeviceStartTelemetryEvent | ( | _In_ PFX_DRIVER_GLOBALS | Globals, |
_In_opt_ FxDevice * | Fdo | ||
) |
Definition at line 91 of file fxtelemetrykm.cpp.
VOID LogDriverInfoStream | ( | _In_ PFX_DRIVER_GLOBALS | Globals, |
_In_opt_ FxDevice * | Fdo | ||
) |
Definition at line 171 of file fxtelemetrykm.cpp.
Referenced by LogDeviceStartTelemetryEvent().
Definition at line 75 of file fxtelemetrykm.cpp.
Referenced by FxLibraryCommonCommission().
Definition at line 83 of file fxtelemetrykm.cpp.
Referenced by FxLibraryCommonDecommission().