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.

45 lines
901 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. bluescrn.h
  5. Abstract
  6. Private IOCTL definition for keyboard driver to use during blue screen
  7. Author:
  8. Darryl Richman
  9. Environment:
  10. Kernel mode only
  11. Revision History:
  12. --*/
  13. #ifndef __BLUESCRN_H__
  14. #define __BLUESCRN_H__
  15. #include <hidclass.h>
  16. #define IOCTL_INTERNAL_HID_SET_BLUESCREEN HID_IN_CTL_CODE(99)
  17. // Blue Screen definitions
  18. typedef VOID (t_BluescreenFunction)(PVOID Context, PCHAR Buffer);
  19. // Blue Screen IOCTL struct
  20. typedef struct _BlueScreen {
  21. PVOID Context; // Context to pass to processing routine
  22. t_BluescreenFunction *BluescreenFunction;// Processing routine
  23. ULONG *IsBluescreenTime; // Non zero -> blue screen happening
  24. } BLUESCREEN, *PBLUESCREEN;
  25. #endif // __BLUESCRN_H__