89
Visual C++ object definitions
CHostDataManager methods
Table 3-38
defines the return value.
LPDISPATCH RetrieveObjectEx(LPCTSTR lpszFQName, short
wAccessMode, LPCTSTR lpszPassword);
Retrieves a CHostDataEx object by file name.
Table 3-39
defines the parameters.
Table 3-40
defines the return value.
Table 3-38
LPDISPATCH RetrieveObject return value
Return value
Description
LPDISPATCH
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.
Table 3-39
LPDISPATCH RetrieveObjectEx parameters
Parameter
Description
LPCTSTR lpszFQName
The fully qualified host object file name to be loaded.
short wAccessMode
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
LPCTSTR lpszPassword
Object password. May be NULL.
Table 3-40
LPDISPATCH RetrieveObjectEx return value
Return value
Description
LPDISPATCH
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
“Visual C++ sample code for
host functionality”
on page 103.
Содержание PCANYWHERE - OLE AUTOMATION GUIDE V12.1
Страница 1: ...Symantec pcAnywhere OLE Automation Guide ...
Страница 6: ......
Страница 18: ...18 Using OLE Automation with Symantec pcAnywhere Where to find more information ...
Страница 68: ...68 Visual Basic object definitions Awrem32 functions ...
Страница 108: ...108 Visual C object definitions Awrem32 functions ...
Страница 112: ...112 Index ...