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.

57 lines
996 B

  1. //
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //
  4. #ifndef __AGP_INCLUDED__
  5. #define __AGP_INCLUDED__
  6. DEFINE_GUID(GUID_AGP_INTERFACE, 0xd6c9df40, 0xa1a2, 0x11d1, 0x81, 0x15, 0x0, 0x20, 0xaf, 0xf7, 0x49, 0x1e);
  7. #ifndef GUID_DEFS_ONLY
  8. //
  9. // Temporary Hack...
  10. //
  11. #ifndef IsEqualGUID
  12. #ifdef __cplusplus
  13. inline int IsEqualGUID(REFGUID guid1, REFGUID guid2)
  14. {
  15. return !memcmp(&guid1, &guid2, sizeof(GUID));
  16. }
  17. #else // !__cplusplus
  18. #define IsEqualGUID(guid1, guid2) \
  19. (!memcmp((guid1), (guid2), sizeof(GUID)))
  20. #endif // !__cplusplus
  21. #endif
  22. #define AGP_INTERFACE_VERSION 1
  23. typedef struct _AGP_INTERFACE
  24. {
  25. USHORT Size;
  26. USHORT Version;
  27. PVOID Context;
  28. PVOID InterfaceReference;
  29. PVOID InterfaceDereference;
  30. VIDEO_PORT_AGP_SERVICES AgpServices;
  31. } AGP_INTERFACE, *PAGP_INTERFACE;
  32. #endif
  33. #endif