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.

61 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1989-1993 Microsoft Corporation
  3. Module Name:
  4. ntmisc.h
  5. Abstract:
  6. This module contains the misc. definitions in \nt\public\sdk\inc
  7. directory. Note, we created this file because ntdetect uses 16 bit
  8. compiler and various new C compiler switches/pragamas are not recognized
  9. by the 16 bit C compiler.
  10. Author:
  11. Shie-Lin Tzong (shielint) 11-Nov-1992
  12. Revision History:
  13. --*/
  14. //
  15. // PHYSICAL_ADDRESS
  16. //
  17. typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS;
  18. //
  19. // Note all the definitions defined below are used to make compiler shut up.
  20. // Ntdetect.com does not rely on the correctness of the structures.
  21. //
  22. //
  23. // Define the I/O bus interface types.
  24. //
  25. typedef enum _INTERFACE_TYPE {
  26. Internal,
  27. Isa,
  28. Eisa,
  29. MicroChannel,
  30. TurboChannel,
  31. MaximumInterfaceType
  32. }INTERFACE_TYPE, *PINTERFACE_TYPE;
  33. //
  34. // Doubly linked list structure. Can be used as either a list head, or
  35. // as link words.
  36. //
  37. typedef struct _LIST_ENTRY {
  38. struct _LIST_ENTRY far *Flink;
  39. struct _LIST_ENTRY far *Blink;
  40. } LIST_ENTRY, far *PLIST_ENTRY;
  41. #define PTIME_FIELDS PVOID
  42. #define KPROCESSOR_STATE ULONG
  43. #define WCHAR USHORT
  44.