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.

39 lines
1.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: olepfn.hxx
  7. //
  8. // Contents: Extern declarations for some variables needed by
  9. // CoQueryReleaseObject
  10. //
  11. // Classes:
  12. //
  13. // Functions:
  14. //
  15. // History: 8-15-94 kevinro Created
  16. //
  17. // This file contains a couple of extern declarations for variables required
  18. // by a file in com\class. This is sort of hacky, but the idea is that
  19. // each of these array entreis is going to be initialized to the address of a
  20. // classes QueryInterface method. Rather than trying to determine the
  21. // correct set of header files that are common across all of the files we
  22. // need on of these variables for, I have put them all here.
  23. //
  24. //----------------------------------------------------------------------------
  25. #ifndef __olepfn_hxx__
  26. #define __olepfn_hxx__
  27. #define QI_TABLE_CFileMoniker 0
  28. #define QI_TABLE_CExposedDocFile 1
  29. #define QI_TABLE_CCompositeMoniker 2
  30. #define QI_TABLE_CItemMoniker 3
  31. #define QI_TABLE_END 5
  32. extern "C" ULONG_PTR adwQueryInterfaceTable[QI_TABLE_END];
  33. STDAPI CoQueryReleaseObject(IUnknown *punk);
  34. #endif // __olepfn_hxx__