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.

42 lines
639 B

  1. /*++
  2. Module Name:
  3. ntcrib.h
  4. Abstract:
  5. prototypes that aren't in driver visible includes...
  6. Yes, we are copying prototypes here. It would be good to
  7. get rid of this, but I don't know how to do it right now
  8. without exposing this stuff to drivers, which I don't want to do.
  9. Author:
  10. Environment:
  11. Kernel mode
  12. Notes:
  13. Revision History:
  14. --*/
  15. NTSYSAPI
  16. NTSTATUS
  17. NTAPI
  18. ZwInitiatePowerAction(
  19. IN POWER_ACTION SystemAction,
  20. IN SYSTEM_POWER_STATE MinSystemState,
  21. IN ULONG Flags, // POWER_ACTION_xxx flags
  22. IN BOOLEAN Asynchronous
  23. );