DOC: Incomplete Definition of VideoDebugPrint |
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 3being 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:This documentation error was fixed in the Windows NT DDK version 4.0.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
Issue type :
Technology : kbAudDeveloper kbWinDDKSearch kbWin32sSearch kbWin32DDKSearch kbWin32DDKNT350 kbWin32DDKNT351 kbWin32DDKNTSearch
|
Last Reviewed: December 11, 1999 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |