Description
Parameter or
return value
Method
Specifies how this object is to be used.
This relates to the password protection.
The options are as follows:
■
0 = Not specified
■
1 = View only
■
2 = View and Modify
■
3 = Execute
Parameter = short
wAccessMode
LPDISPATCH
RetrieveObject(short
wAccessMode);
Object password. May be NULL
Parameter =
LPCTSTR
lpszPassword
LPDISPATCH
RetrieveObject(LPCTSTR
lpszPassword);
Pointer to an OLE dispatch object. The
object is a CHostData object.
See
Visual C++ sample code for host
functionality
.
Return value =
LPDISPATCH
LPDISPATCH
RetrieveObject
Retrieves a CHostDataEx object by file
name
The parameter is the fully qualified host
object file name to be loaded
Parameter =
LPCTSTR
lpszFQName
LPDISPATCH
RetrieveObjectEx(LPCTSTR
lpszFQName);
Specifies how this object is to be used.
This relates to the password protection.
The options are as follows:
■
0 = Not specified
■
1 = View only
■
2 = View and Modify
■
3 = Execute
Parameter = short
wAccessMode
LPDISPATCH
RetrieveObjectEx(short
wAccessMode);
Object password. May be NULL
Parameter =
LPCTSTR
lpszPassword
LPDISPATCH
RetrieveObjectEx(LPCTSTR
lpszPassword);
Pointer to an OLE dispatch object. The
object is a CHostDataEx object
See
Visual C++ sample code for host
functionality
.
Return value =
LPDISPATCH
LPDISPATCH
RetrieveObjectEx
73
Visual C++ object definitions
CHostDataManager methods