41#define UMDF_CENSUS_EVT_WRITE_DEVICE_START(TraceHandle , Globals, DriverConfig, SetupClass, BusEnum, HwID, Manafacturer) \
42 TraceLoggingWrite(TraceHandle, \
43 "UmdfCensusEvtDeviceStart", \
44 WDF_TELEMETRY_EVT_KEYWORDS, \
45 WDF_CENSUS_EVT_DATA_COMMON(Globals), \
46 TraceLoggingString((Globals)->Public.DriverName, "DriverServiceName"), \
47 TraceLoggingUmdfDriverConfigInfo(DriverConfig, "DriverConfigInfo"), \
48 TraceLoggingWideString(SetupClass, "SetupClass"), \
49 TraceLoggingWideString(BusEnum, "BusEnumerator"), \
50 TraceLoggingWideString(HwID, "HardwareId"), \
51 TraceLoggingWideString(Manafacturer, "ManufacturerString") \
57#define TraceLoggingUmdfDriverConfigInfo(info, fieldName) \
59 TraceLoggingStruct(20, fieldName), \
61 TraceLoggingUInt8(info.bitmap.IsFilter, "IsFilter" ), \
62 TraceLoggingUInt8(info.bitmap.IsPowerPolicyOwner, "IsPowerPolicyOwner" ), \
63 TraceLoggingUInt8(info.bitmap.IsS0IdleWakeFromS0Enabled, "IsS0IdleWakeFromS0Enabled" ), \
64 TraceLoggingUInt8(info.bitmap.IsS0IdleUsbSSEnabled, "IsS0IdleUsbSSEnabled" ), \
65 TraceLoggingUInt8(info.bitmap.IsS0IdleSystemManaged, "IsS0IdleSystemManaged" ), \
67 TraceLoggingUInt8(info.bitmap.IsSxWakeEnabled, "IsSxWakeEnabled" ), \
68 TraceLoggingUInt8(info.bitmap.IsUsingLevelTriggeredLineInterrupt, "IsUsingLevelTriggeredLineInterrupt" ), \
69 TraceLoggingUInt8(info.bitmap.IsUsingEdgeTriggeredLineInterrupt, "IsUsingEdgeTriggeredLineInterrupt" ), \
70 TraceLoggingUInt8(info.bitmap.IsUsingMsiXOrSingleMsi22Interrupt, "IsUsingMsiXOrSingleMsi22Interrupt" ), \
71 TraceLoggingUInt8(info.bitmap.IsUsingMsi22MultiMessageInterrupt, "IsUsingMsi22MultiMessageInterrupt" ), \
73 TraceLoggingUInt8(info.bitmap.IsUsingMultipleInterrupt, "IsUsingMultipleInterrupt" ), \
74 TraceLoggingUInt8(info.bitmap.IsDirectHardwareAccessAllowed, "IsDirectHardwareAccessAllowed" ), \
75 TraceLoggingUInt8(info.bitmap.IsUsingUserModemappingAccessMode, "IsUsingUserModemappingAccessMode" ), \
76 TraceLoggingUInt8(info.bitmap.IsKernelModeClientAllowed, "IsKernelModeClientAllowed" ), \
77 TraceLoggingUInt8(info.bitmap.IsNullFileObjectAllowed, "IsNullFileObjectAllowed" ), \
79 TraceLoggingUInt8(info.bitmap.IsPoolingDisabled, "IsPoolingDisabled" ), \
80 TraceLoggingUInt8(info.bitmap.IsMethodNeitherActionCopy, "IsMethodNeitherActionCopy" ), \
81 TraceLoggingUInt8(info.bitmap.IsUsingDirectIoForReadWrite, "IsUsingDirectIoForReadWrite" ), \
82 TraceLoggingUInt8(info.bitmap.IsUsingDirectIoForIoctl, "IsUsingDirectIoForIoctl" ), \
83 TraceLoggingUInt8(info.bitmap.IsUsingDriverWppRecorder, "IsUsingDriverWppRecorder" ) \
struct _UMDF_DRIVER_REGSITRY_INFO UMDF_DRIVER_REGSITRY_INFO
struct _UMDF_DRIVER_REGSITRY_INFO * PUMDF_DRIVER_REGSITRY_INFO
VOID GetDriverInfo(_In_ FxDevice *Fdo, _In_ PUMDF_DRIVER_REGSITRY_INFO RegInfo, _Out_ UFxTelemetryDriverInfo *DriverInfo)
DRIVER_INFORMATION DriverInfo
BOOLEAN IsKernelModeClientAllowed
BOOLEAN IsNullFileObjectAllowed
BOOLEAN IsHostProcessSharingDisabled
BOOLEAN IsMethodNeitherActionCopy
DWORD IsUsingEdgeTriggeredLineInterrupt
DWORD IsUsingDirectIoForReadWrite
DWORD IsUsingMsiXOrSingleMsi22Interrupt
DWORD IsS0IdleUsbSSEnabled
DWORD IsMethodNeitherActionCopy
DWORD IsS0IdleWakeFromS0Enabled
DWORD IsUsingDirectIoForIoctl
DWORD IsNullFileObjectAllowed
DWORD IsUsingDriverWppRecorder
DWORD IsUsingLevelTriggeredLineInterrupt
DWORD IsKernelModeClientAllowed
DWORD IsUsingUserModemappingAccessMode
DWORD IsUsingMultipleInterrupt
struct UFxTelemetryDriverInfo::@4831 bitmap
DWORD IsUsingMsi22MultiMessageInterrupt
DWORD IsDirectHardwareAccessAllowed
DWORD IsS0IdleSystemManaged
_Must_inspect_result_ _In_ WDFDEVICE Fdo