DOC: Incomplete Definition of VideoDebugPrintID: Q138697
|
VOID VideoDebugPrint((ULONG Level, PCHAR DebugMessage, ...));
VideoDebugPrint writes a debug string to the WinDbg KD Command window.Parameters:
Level - the debug print level of the message between 0 and 3, with 3
being the most verbose. This parameter is compared by the VideoPort driver to a global debugging variable set in the registry. If the parameter "Level" is equal to or less than the global debugging variable, the message is printed.
DebugMessage - The printf formatted string to be printed.Comments:
The VideoPort driver looks for the following variable at startup in the Registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DriverName\DeviceN
\VideoDebugLevel:REG_DWORD:n
Where:
If the VideoDebugLevel variable does not exist in the registry, the VideoPort driver uses a default value of zero. Thus, when VideoDebugPrint is called with a Level parameter greater than zero, nothing is printed.
- DriverName is the video miniport's installed name.
- DeviceN is the installed device number (for example, Device0).
- n is the VideoPort's global debug level setting from 0 to 3 for this miniport driver.
Only kernel-mode video miniport drivers can call VideoDebugPrint.
When you run a free build of the VideoPort and video miniport, all references to this call are eliminated by the compiler.
See any of the sample video miniports in the DDK for an example.
Additional query words: 3.50 3.51
Keywords : kbdocfix ntddkvideo
Version : 3.50 3.51
Platform : NT WINDOWS
Issue type :
Last Reviewed: March 3, 1999