Source code of Windows XP (NT5)
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
1.6 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // Guids.cpp
  7. //
  8. // Description:
  9. // Guids definition instantiation and DEBUG interface table definitions.
  10. //
  11. // Maintained By:
  12. // gpease 08-FEB-1999
  13. //
  14. //////////////////////////////////////////////////////////////////////////////
  15. #include "pch.h"
  16. #include <initguid.h>
  17. #undef _GUIDS_H_
  18. #include "guids.h"
  19. //
  20. // Interface Table
  21. //
  22. // This table is used in builds in which interface tracking was turned on. It
  23. // is used to map a name with a particular IID. It also helps the CITracker
  24. // determine the size of the interfaces Vtable to mimic (haven't figured out
  25. // a runtime or compile time way to do this). To improve speed, put the most
  26. // used interfaces first such as IUnknown (the search routine is a simple
  27. // linear search).
  28. //
  29. BEGIN_INTERFACETABLE
  30. // most used interfaces
  31. DEFINE_INTERFACE( IID_IUnknown, "IUnknown", 0 )
  32. DEFINE_INTERFACE( IID_IDispatch, "IDispatch", 4 )
  33. DEFINE_INTERFACE( IID_IDispatchEx, "IDispatchEx", 12 )
  34. DEFINE_INTERFACE( IID_IActiveScript, "IActiveScript", 13 )
  35. DEFINE_INTERFACE( IID_IActiveScriptSite, "IActiveScriptSite", 8 )
  36. DEFINE_INTERFACE( IID_IActiveScriptParse, "IActiveScriptParse", 3 )
  37. DEFINE_INTERFACE( IID_IActiveScriptError, "IActiveScriptError", 3 )
  38. DEFINE_INTERFACE( IID_IActiveScriptSiteWindow, "IActiveScriptSiteWindow", 2 )
  39. END_INTERFACETABLE