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.

35 lines
850 B

  1. //-----------------------------------------------------------------------------
  2. // File: ipageclassfact.h
  3. //
  4. // Desc: Implements the class factory for the page object.
  5. //
  6. // Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved.
  7. //-----------------------------------------------------------------------------
  8. #ifndef _IPAGECLASSFACT_H
  9. #define _IPAGECLASSFACT_H
  10. class CPageFactory : public IClassFactory
  11. {
  12. public:
  13. //IUnknown
  14. STDMETHOD (QueryInterface) (REFIID riid, LPVOID* ppv);
  15. STDMETHOD_(ULONG, AddRef) ();
  16. STDMETHOD_(ULONG, Release) ();
  17. //IClassFactory
  18. STDMETHOD (CreateInstance) (IUnknown* pUnkOuter, REFIID riid, LPVOID* ppv);
  19. STDMETHOD (LockServer) (BOOL bLock);
  20. //constructor/destructor
  21. CPageFactory();
  22. ~CPageFactory();
  23. protected:
  24. LONG m_cRef;
  25. };
  26. #endif // _IPAGECLASSFACT_H