// irb.h
VOID AtaPortDebugPrint(
ULONG DebugPrintLevel,
PCCHAR DebugMessage,
...
);
View the official Windows Driver Kit DDI referenceNo description available.
The AtaPortDebugPrint routine passes a message string to the kernel debugger for the debugger to print.
[!NOTE]
The ATA port driver and ATA miniport driver models may be altered or unavailable in the future. Use the Storport driver and Storport miniport driver models instead.
DebugPrintLevelContains a value between 0 and 3 that specifies the level of verbosity, where a value of 3 signifies the highest level of verbosity and a value of 0 signifies the lowest level. See Remarks.
DebugMessagePointer to the debug string to print.
...Variadic arguments to be used with the string that DebugMessage points to.
ScsiDebugPrint will print the message pointed to by DebugMessage, along with other debugging information depending on the value of DebugPrintLevel and a port driver-specific mask. Use the nt!kd_idep_mask command to set the desired level of verbosity. For more information about the kernel debugger, see Getting Started with WinDbg - Kernel Mode.