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.

34 lines
787 B

  1. // Password.h : Declaration of the CPassword
  2. #ifndef __PASSWORD_H_
  3. #define __PASSWORD_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CPassword
  7. class ATL_NO_VTABLE CPassword :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<CPassword, &CLSID_Password>,
  10. public IDispatchImpl<IPassword, &IID_IPassword, &LIBID_SCRIPTPWLib>
  11. {
  12. public:
  13. CPassword()
  14. {
  15. }
  16. DECLARE_REGISTRY_RESOURCEID(IDR_PASSWORD)
  17. DECLARE_PROTECT_FINAL_CONSTRUCT()
  18. BEGIN_COM_MAP(CPassword)
  19. COM_INTERFACE_ENTRY(IPassword)
  20. COM_INTERFACE_ENTRY(IDispatch)
  21. END_COM_MAP()
  22. // IPassword
  23. public:
  24. STDMETHOD(GetPassword)(/*[out, retval]*/ BSTR *bstrOutPassword);
  25. };
  26. #endif //__PASSWORD_H_