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.

43 lines
980 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1995 - 1995.
  5. //
  6. // File: ole.hxx
  7. //
  8. // Contents: IClassFactory for all OLE objects
  9. //
  10. // History: 13-Dec-95 BruceFo Created
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifndef __OLE_HXX__
  14. #define __OLE_HXX__
  15. //////////////////////////////////////////////////////////////////////////////
  16. class CSharesCF : public IClassFactory
  17. {
  18. public:
  19. //
  20. // IUnknown methods
  21. //
  22. STDMETHOD(QueryInterface)(REFIID riid, LPVOID* ppvObj);
  23. STDMETHOD_(ULONG,AddRef)();
  24. STDMETHOD_(ULONG,Release)();
  25. //
  26. // IClassFactory methods
  27. //
  28. STDMETHOD(CreateInstance)(
  29. IUnknown* pUnkOuter,
  30. REFIID riid,
  31. LPVOID* ppvObj);
  32. STDMETHOD(LockServer)(BOOL fLock);
  33. };
  34. #endif // __OLE_HXX__