8#ifndef _DBG_DRIVERDBG_H_
9#define _DBG_DRIVERDBG_H_
19 return "IRP_MN_START_DEVICE";
21 return "IRP_MN_QUERY_REMOVE_DEVICE";
23 return "IRP_MN_REMOVE_DEVICE";
25 return "IRP_MN_CANCEL_REMOVE_DEVICE";
27 return "IRP_MN_STOP_DEVICE";
29 return "IRP_MN_QUERY_STOP_DEVICE";
31 return "IRP_MN_CANCEL_STOP_DEVICE";
33 return "IRP_MN_QUERY_DEVICE_RELATIONS";
35 return "IRP_MN_QUERY_INTERFACE";
37 return "IRP_MN_QUERY_CAPABILITIES";
39 return "IRP_MN_QUERY_RESOURCES";
41 return "IRP_MN_QUERY_RESOURCE_REQUIREMENTS";
43 return "IRP_MN_QUERY_DEVICE_TEXT";
45 return "IRP_MN_FILTER_RESOURCE_REQUIREMENTS";
47 return "IRP_MN_READ_CONFIG";
49 return "IRP_MN_WRITE_CONFIG";
51 return "IRP_MN_EJECT";
53 return "IRP_MN_SET_LOCK";
55 return "IRP_MN_QUERY_ID";
57 return "IRP_MN_QUERY_PNP_DEVICE_STATE";
59 return "IRP_MN_QUERY_BUS_INFORMATION";
61 return "IRP_MN_DEVICE_USAGE_NOTIFICATION";
63 return "IRP_MN_SURPRISE_REMOVAL";
65 return "IRP_MN_QUERY_LEGACY_BUS_INFORMATION";
67 return "(unknown)IRP_MN";
79 return "BusRelations";
81 return "EjectionRelations";
83 return "RemovalRelations";
85 return "TargetDeviceRelation";
87 return "(unknown)Relation";
99 return "BusQueryDeviceID";
101 return "BusQueryHardwareIDs";
103 return "BusQueryCompatibleIDs";
105 return "BusQueryInstanceID";
107 return "BusQueryDeviceSerialNumber";
109 return "(unknown)QueryID";
PCHAR DbgGetDeviceRelationString(DEVICE_RELATION_TYPE Type)
FORCEINLINE PCHAR GetIRPMinorFunctionString(UCHAR MinorFunction)
PCHAR DbgGetDeviceIDString(BUS_QUERY_ID_TYPE Type)
#define IRP_MN_SURPRISE_REMOVAL
_In_ UCHAR _In_ UCHAR MinorFunction
#define IRP_MN_CANCEL_STOP_DEVICE
#define IRP_MN_QUERY_PNP_DEVICE_STATE
enum _BUS_QUERY_ID_TYPE BUS_QUERY_ID_TYPE
#define IRP_MN_QUERY_INTERFACE
#define IRP_MN_START_DEVICE
#define IRP_MN_DEVICE_USAGE_NOTIFICATION
#define IRP_MN_READ_CONFIG
#define IRP_MN_WRITE_CONFIG
#define IRP_MN_QUERY_RESOURCE_REQUIREMENTS
#define IRP_MN_REMOVE_DEVICE
#define IRP_MN_FILTER_RESOURCE_REQUIREMENTS
#define IRP_MN_QUERY_DEVICE_RELATIONS
#define IRP_MN_QUERY_STOP_DEVICE
#define IRP_MN_QUERY_DEVICE_TEXT
#define IRP_MN_QUERY_CAPABILITIES
#define IRP_MN_QUERY_RESOURCES
#define IRP_MN_CANCEL_REMOVE_DEVICE
#define IRP_MN_STOP_DEVICE
@ BusQueryDeviceSerialNumber
enum _DEVICE_RELATION_TYPE DEVICE_RELATION_TYPE
#define IRP_MN_QUERY_LEGACY_BUS_INFORMATION
#define IRP_MN_QUERY_BUS_INFORMATION
#define IRP_MN_QUERY_REMOVE_DEVICE