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.

30 lines
906 B

  1. ////////////////////////////////////////////////////////////////////
  2. // File: CSSCFcty.h
  3. // Desc: Definitions, classes, and prototypes for a DLL that
  4. // provides CSSFormat objects to any other object user.
  5. ////////////////////////////////////////////////////////////////////
  6. #ifndef _CCLASSFACTORY_H_
  7. #define _CCLASSFACTORY_H_
  8. BOOL SetKeyAndValue(LPTSTR pszKey, LPTSTR pszSubkey, LPTSTR pszValue, LPTSTR pszThreadingModel);
  9. class CClassFactory : public IClassFactory
  10. {
  11. protected:
  12. // members
  13. ULONG m_cRef;
  14. public:
  15. // methods
  16. CClassFactory(void);
  17. ~CClassFactory(void);
  18. STDMETHODIMP QueryInterface(REFIID, LPVOID *);
  19. STDMETHODIMP_(ULONG) AddRef(void);
  20. STDMETHODIMP_(ULONG) Release(void);
  21. STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID *);
  22. STDMETHODIMP LockServer(BOOL);
  23. };
  24. typedef CClassFactory* PCClassFactory;
  25. #endif _CCLASSFACTORY_H_