25#define DBGGETIOCTLSTR(_ioctl) DbgGetIoctlStr(_ioctl)
26#define DBGGETSCSIOPSTR(_pSrb) DbgGetScsiOpStr(_pSrb)
27#define DBGGETSRBSTATUSSTR(_pSrb) DbgGetSrbStatusStr(_pSrb)
28#define DBGGETSENSECODESTR(_pSrb) DbgGetSenseCodeStr(_pSrb)
29#define DBGGETADSENSECODESTR(_pSrb) DbgGetAdditionalSenseCodeStr(_pSrb)
30#define DBGGETADSENSEQUALIFIERSTR(_pSrb) DbgGetAdditionalSenseCodeQualifierStr(_pSrb)
41 typedef struct _CLASSPNP_GLOBALS {
47 ULONG BreakOnLostIrps;
48 ULONG SecondsToWaitForIrps;
56 ULONG UseBufferedDebugPrint;
57 ULONG UseDelayedRetry;
68 ULONG NumberOfBuffers;
79 } CLASSPNP_GLOBALS, *PCLASSPNP_GLOBALS;
91 #define DISK_SPINUP_BACKTRACE_LENGTH (0x18)
97 #define NUMBER_OF_DISK_SPINUP_TRACES (0x10)
99 typedef struct _DISK_SPINUP_TRACES {
102 PVOID StackTrace[DISK_SPINUP_BACKTRACE_LENGTH];
103 } DISK_SPINUP_TRACES, *PDISK_SPINUP_TRACES;
106 #define DBGCHECKRETURNEDPKT(_pkt) DbgCheckReturnedPkt(_pkt)
107 #define DBGLOGSENDPACKET(_pkt) DbgLogSendPacket(_pkt)
108 #define DBGLOGRETURNPACKET(_pkt) DbgLogReturnPacket(_pkt)
109 #define DBGLOGFLUSHINFO(_fdoData, _isIO, _isFUA, _isFlush) DbgLogFlushInfo(_fdoData, _isIO, _isFUA, _isFlush)
117 extern CLASSPNP_GLOBALS ClasspnpGlobals;
118 extern LONG ClassDebug;
119 extern BOOLEAN DebugTrapOnWarn;
123 #define ClasspInitializeDebugGlobals()
124 #define SnapDiskStartup()
126 #define DBGCHECKRETURNEDPKT(_pkt)
127 #define DBGLOGSENDPACKET(_pkt)
128 #define DBGLOGRETURNPACKET(_pkt)
129 #define DBGLOGFLUSHINFO(_fdoData, _isIO, _isFUA, _isFlush)
_In_ PSCSI_REQUEST_BLOCK Srb
_In_ PTRANSFER_PACKET Pkt
char * DbgGetScsiOpStr(PSTORAGE_REQUEST_BLOCK_HEADER Srb)
char * DbgGetAdditionalSenseCodeStr(PSTORAGE_REQUEST_BLOCK_HEADER Srb)
char * DbgGetSenseCodeStr(PSTORAGE_REQUEST_BLOCK_HEADER Srb)
#define ClasspInitializeDebugGlobals()
char * DbgGetAdditionalSenseCodeQualifierStr(PSTORAGE_REQUEST_BLOCK_HEADER Srb)
char * DbgGetIoctlStr(ULONG ioctl)
#define SnapDiskStartup()
char * DbgGetSrbStatusStr(PSTORAGE_REQUEST_BLOCK_HEADER Srb)
SECURITY_INTEGER TimeStamp
struct SRB_ALIGN _STORAGE_REQUEST_BLOCK_HEADER * PSTORAGE_REQUEST_BLOCK_HEADER
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock