AtaPortDebugPrint function (irb.h)

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.

Syntax

void AtaPortDebugPrint(
  ULONG  DebugPrintLevel,
  PCCHAR DebugMessage,
  ...    
);

Parameters

DebugPrintLevel

Contains 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.

DebugMessage

Pointer to the debug string to print.

...

Variadic arguments to be used with the string that DebugMessage points to.

Return value

None

Remarks

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 Using a Debugger.

Requirements

Requirement Value
Target Platform Desktop
Header irb.h (include Ata.h, Irb.h)
Library Ataport.lib; Pciidex.lib

See also

DbgPrintEx