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.

29 lines
500 B

  1. #ifndef CLASSFAC_H
  2. #define CLASSFAC_H
  3. class CClassFactory : public IClassFactory
  4. {
  5. protected:
  6. LONG m_ObjRefCount;
  7. public:
  8. CClassFactory();
  9. ~CClassFactory();
  10. //
  11. // IUnknown methods
  12. //
  13. STDMETHODIMP QueryInterface(REFIID, LPVOID*);
  14. STDMETHODIMP_(DWORD) AddRef();
  15. STDMETHODIMP_(DWORD) Release();
  16. //
  17. // IClassFactory methods
  18. //
  19. STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID*);
  20. STDMETHODIMP LockServer(BOOL);
  21. };
  22. #endif // CLASSFAC_H