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.

67 lines
1.0 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1999
  3. Module Name:
  4. cfacpwr.hxx
  5. Abstract:
  6. Contains the definition of the CISensOnNowCF class.
  7. Author:
  8. Gopal Parupudi <GopalP>
  9. [Notes:]
  10. optional-notes
  11. Revision History:
  12. GopalP 11/17/1997 Start.
  13. --*/
  14. #ifndef __CFACPWR_HXX__
  15. #define __CFACPWR_HXX__
  16. class CISensOnNowCF : public IClassFactory
  17. {
  18. public:
  19. CISensOnNowCF(void);
  20. ~CISensOnNowCF(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 CISensOnNowCF FAR * LPCISensOnNowCF;
  36. void FAR PASCAL
  37. ObjectDestroyed(
  38. void
  39. );
  40. #endif // __CFACPWR_HXX__