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.

46 lines
988 B

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // provfactory.h
  7. //
  8. // Implementation File:
  9. // provfactory.cpp
  10. //
  11. // Description:
  12. // Definition of the CProvFactory class.
  13. //
  14. // Author:
  15. // Henry Wang (Henrywa) March 8, 2000
  16. //
  17. // Notes:
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. #pragma once
  21. #include "common.h"
  22. #include "instanceprov.h"
  23. class CProvFactory : public IClassFactory
  24. {
  25. protected:
  26. ULONG m_cRef;
  27. public:
  28. CProvFactory();
  29. virtual ~CProvFactory();
  30. STDMETHODIMP QueryInterface(REFIID, PPVOID);
  31. STDMETHODIMP_(ULONG) AddRef(void);
  32. STDMETHODIMP_(ULONG) Release(void);
  33. //IClassFactory members
  34. STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID
  35. , PPVOID);
  36. STDMETHODIMP LockServer(BOOL);
  37. };