ReactOS 0.4.15-dev-7958-gcd0bb1a
driverdbg.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

FORCEINLINE PCHAR GetIRPMinorFunctionString (UCHAR MinorFunction)
 
PCHAR DbgGetDeviceRelationString (DEVICE_RELATION_TYPE Type)
 
PCHAR DbgGetDeviceIDString (BUS_QUERY_ID_TYPE Type)
 

Function Documentation

◆ DbgGetDeviceIDString()

PCHAR DbgGetDeviceIDString ( BUS_QUERY_ID_TYPE  Type)
inline

Definition at line 93 of file driverdbg.h.

95{
96 switch (Type)
97 {
99 return "BusQueryDeviceID";
101 return "BusQueryHardwareIDs";
103 return "BusQueryCompatibleIDs";
105 return "BusQueryInstanceID";
107 return "BusQueryDeviceSerialNumber";
108 default:
109 return "(unknown)QueryID";
110 }
111}
Type
Definition: Type.h:7
@ BusQueryCompatibleIDs
Definition: iotypes.h:2938
@ BusQueryDeviceSerialNumber
Definition: iotypes.h:2940
@ BusQueryInstanceID
Definition: iotypes.h:2939
@ BusQueryDeviceID
Definition: iotypes.h:2936
@ BusQueryHardwareIDs
Definition: iotypes.h:2937

Referenced by PdoDispatchPnp().

◆ DbgGetDeviceRelationString()

PCHAR DbgGetDeviceRelationString ( DEVICE_RELATION_TYPE  Type)
inline

Definition at line 73 of file driverdbg.h.

75{
76 switch (Type)
77 {
78 case BusRelations:
79 return "BusRelations";
81 return "EjectionRelations";
83 return "RemovalRelations";
85 return "TargetDeviceRelation";
86 default:
87 return "(unknown)Relation";
88 }
89}
@ EjectionRelations
Definition: iotypes.h:2153
@ RemovalRelations
Definition: iotypes.h:2155
@ BusRelations
Definition: iotypes.h:2152
@ TargetDeviceRelation
Definition: iotypes.h:2156

◆ GetIRPMinorFunctionString()

FORCEINLINE PCHAR GetIRPMinorFunctionString ( UCHAR  MinorFunction)

Definition at line 13 of file driverdbg.h.

15{
16 switch (MinorFunction)
17 {
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";
50 case IRP_MN_EJECT:
51 return "IRP_MN_EJECT";
52 case IRP_MN_SET_LOCK:
53 return "IRP_MN_SET_LOCK";
54 case IRP_MN_QUERY_ID:
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";
66 default:
67 return "(unknown)IRP_MN";
68 }
69}
#define IRP_MN_SURPRISE_REMOVAL
Definition: ntifs_ex.h:408
_In_ UCHAR _In_ UCHAR MinorFunction
Definition: wdfdevice.h:1699
#define IRP_MN_CANCEL_STOP_DEVICE
#define IRP_MN_QUERY_PNP_DEVICE_STATE
#define IRP_MN_EJECT
#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_QUERY_ID
#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
#define IRP_MN_SET_LOCK
#define IRP_MN_QUERY_LEGACY_BUS_INFORMATION
Definition: iotypes.h:4427
#define IRP_MN_QUERY_BUS_INFORMATION
#define IRP_MN_QUERY_REMOVE_DEVICE

Referenced by FdoDispatchPnp(), PartMgrPnp(), and PdoDispatchPnp().