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.

46 lines
1.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: ksguid.c
  8. //
  9. //--------------------------------------------------------------------------
  10. #include <wdm.h>
  11. #include <windef.h>
  12. #define NOBITMAP
  13. #include <ksguid.h>
  14. #include <mmreg.h>
  15. //
  16. // Create a separate library for the SDK which does not separate the
  17. // guids out from the .text section.
  18. //
  19. #ifdef DDK_KS
  20. #ifdef ALLOC_DATA_PRAGMA
  21. #pragma const_seg("PAGECONST")
  22. #endif // ALLOC_PRAGMA
  23. #endif // SDK_KS
  24. // include swenum.h first so that a separate guid entry is made for the BUSID.
  25. #include <swenum.h>
  26. #include <ks.h>
  27. #include <ksi.h>
  28. #include <ksmediap.h>
  29. #include <ksproxy.h>
  30. // remove this, since basetyps.h defines it again.
  31. #undef DEFINE_GUID
  32. #include <unknown.h>
  33. // set the version to less than 1100 so that guids are defined for the library.
  34. #ifdef _MSC_VER
  35. #undef _MSC_VER
  36. #endif // _MSC_VER
  37. #define _MSC_VER 0
  38. #include <kcom.h>
  39. #include <stdarg.h>
  40. #ifdef ALLOC_DATA_PRAGMA
  41. #pragma const_seg()
  42. #endif // ALLOC_DATA_PRAGMA