windows-nt/Source/XPSP1/NT/admin/cmdline/scriptpw/password.h

35 lines
753 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
// Password.h : Declaration of the CPassword
#ifndef __PASSWORD_H_
#define __PASSWORD_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CPassword
class ATL_NO_VTABLE CPassword :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CPassword, &CLSID_Password>,
public IDispatchImpl<IPassword, &IID_IPassword, &LIBID_SCRIPTPWLib>
{
public:
CPassword()
{
}
DECLARE_REGISTRY_RESOURCEID(IDR_PASSWORD)
DECLARE_PROTECT_FINAL_CONSTRUCT()
BEGIN_COM_MAP(CPassword)
COM_INTERFACE_ENTRY(IPassword)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
// IPassword
public:
STDMETHOD(GetPassword)(/*[out, retval]*/ BSTR *bstrOutPassword);
};
#endif //__PASSWORD_H_