Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
442 B

  1. #include <basedef.h>
  2. #include <vmm.h>
  3. #include <vwin32.h>
  4. #pragma VxD_LOCKED_CODE_SEG
  5. #pragma VxD_LOCKED_DATA_SEG
  6. VOID
  7. DbgPrint(PCHAR pszString)
  8. {
  9. _asm pushfd ; save flags on stack
  10. _asm pushad ; save registers on stack
  11. _asm mov esi,pszString ; points to string to write
  12. VMMCall( Out_Debug_String );
  13. _asm popad
  14. _asm popfd
  15. }