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
34 lines
787 B
// 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_
|