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.

68 lines
1.0 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1999
  3. Module Name:
  4. classfac.hxx
  5. Abstract:
  6. Contains the definition of the CPerfServerCF class.
  7. Author:
  8. Gopal Parupudi <GopalP>
  9. [Notes:]
  10. optional-notes
  11. Revision History:
  12. GopalP 11/17/1997 Start.
  13. --*/
  14. #ifndef __CLASSFAC_HXX__
  15. #define __CLASSFAC_HXX__
  16. class CSensSinkCF : public IClassFactory
  17. {
  18. public:
  19. CSensSinkCF(void);
  20. ~CSensSinkCF(void);
  21. //
  22. // IUnknown members functions
  23. //
  24. STDMETHOD (QueryInterface) (REFIID, LPVOID*);
  25. STDMETHOD_(ULONG, AddRef) (void);
  26. STDMETHOD_(ULONG, Release) (void);
  27. //
  28. // IClassFactory member functions
  29. //
  30. STDMETHOD (CreateInstance) (LPUNKNOWN, REFIID, LPVOID*);
  31. STDMETHOD (LockServer) (BOOL);
  32. private:
  33. ULONG m_cRef; // Reference Count
  34. };
  35. typedef CSensSinkCF FAR * LPCSENSSINKCF;
  36. void FAR PASCAL
  37. ObjectDestroyed(
  38. void
  39. );
  40. #endif // __CLASSFAC_HXX__