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.

102 lines
1.6 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1999
  3. Module Name:
  4. classfac.hxx
  5. Abstract:
  6. Contains the definition of the CISensLogonCF class.
  7. Author:
  8. Gopal Parupudi <GopalP>
  9. [Notes:]
  10. optional-notes
  11. Revision History:
  12. GopalP 11/17/1997 Start.
  13. --*/
  14. #ifndef __CFACLOGN_HXX__
  15. #define __CFACLOGN_HXX__
  16. class CISensLogonCF : public IClassFactory
  17. {
  18. public:
  19. CISensLogonCF(void);
  20. ~CISensLogonCF(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 CISensLogonCF FAR * LPCISENSLOGONCF;
  36. void FAR PASCAL
  37. ObjectDestroyed(
  38. void
  39. );
  40. //
  41. // Class Factory for ISensLogon2
  42. //
  43. class CISensLogon2CF : public IClassFactory
  44. {
  45. public:
  46. CISensLogon2CF(void);
  47. ~CISensLogon2CF(void);
  48. //
  49. // IUnknown members functions
  50. //
  51. STDMETHOD (QueryInterface) (REFIID, LPVOID*);
  52. STDMETHOD_(ULONG, AddRef) (void);
  53. STDMETHOD_(ULONG, Release) (void);
  54. //
  55. // IClassFactory member functions
  56. //
  57. STDMETHOD (CreateInstance) (LPUNKNOWN, REFIID, LPVOID*);
  58. STDMETHOD (LockServer) (BOOL);
  59. private:
  60. ULONG m_cRef; // Reference Count
  61. };
  62. typedef CISensLogon2CF FAR * LPCISENSLOGON2CF;
  63. #endif // __CFACLOGN_HXX__