LPDISPATCH RetrieveObjectEx(LPCTSTR lpszFQName, short
wAccessMode, LPCTSTR lpszPassword);
Table 3-38
defines the return value.
Table 3-38
LPDISPATCH RetrieveObject return value
Return value
LPDISPATCH
Retrieves a CHostDataEx object by file name.
Table 3-39
defines the parameters.
Table 3-39
LPDISPATCH RetrieveObjectEx parameters
Parameter
LPCTSTR lpszFQName
short wAccessMode
LPCTSTR lpszPassword
Table 3-40
defines the return value.
Table 3-40
LPDISPATCH RetrieveObjectEx return value
Return value
LPDISPATCH
Description
Pointer to an OLE dispatch object. The object is a
CHostData object.
For an example of how to attach this pointer to a
CHostData object, see
"Visual C++ sample code for
host functionality"
on page 103.
Description
The fully qualified host object file name to be loaded.
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
■
Object password. May be NULL.
Description
Pointer to an OLE dispatch object. The object is a
CHostDataEx object.
For an example of how to attach this pointer to a
CHostDataEx object, see
host functionality"
on page 103.
Visual C++ object definitions
CHostDataManager methods
"Visual C++ sample code for
89