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.

35 lines
1.2 KiB

  1. // --------------------------------------------------------------------------
  2. // Module Name: LPCGeneric.h
  3. //
  4. // Copyright (c) Microsoft Corporation. All rights reserved.
  5. //
  6. // This file contains structs for PORT_MESSAGE appends which are generic to
  7. // any API.
  8. //
  9. // History: 1999-11-17 vtan created
  10. // 2000-08-25 vtan moved from Neptune to Whistler
  11. // 2000-10-12 vtan moved from DS to SHELL depot
  12. // --------------------------------------------------------------------------
  13. #ifndef _LPCGeneric_
  14. #define _LPCGeneric_
  15. enum
  16. {
  17. API_GENERIC_STOPSERVER = 0x00010000,
  18. API_GENERIC_EXECUTE_IMMEDIATELY = 0x80000000,
  19. API_GENERIC_SPECIAL_MASK = 0x00FF0000,
  20. API_GENERIC_OPTIONS_MASK = 0xFF000000,
  21. API_GENERIC_RESERVED_MASK = 0xFFFF0000,
  22. API_GENERIC_NUMBER_MASK = 0x0000FFFF
  23. };
  24. typedef union
  25. {
  26. unsigned long ulAPINumber; // IN: API number request to server
  27. NTSTATUS status; // OUT: NTSTATUS error code returned from server
  28. } API_GENERIC;
  29. #endif /* _LPCGeneric_ */