LPDISPATCH RetrieveObject(LPCTSTR lpszFQName, short
wAccessMode, LPCTSTR lpszPassword);
LPDISPATCH RetrieveObjectEx(LPCTSTR lpszFQName, short
wAccessMode, LPCTSTR lpszPassword);
Table 3-8
defines the return value.
Table 3-8
BOOL FindNext return value
Return value
BOOL
Retrieves a CRemoteData object by file name.
Table 3-9
defines the parameters.
Table 3-9
LPDISPATCH Retrieve Object parameters
Parameter
LPCTSTR lpszFQName
short wAccessMode
LPCTSTR lpszPassword
Retrieves a CRemoteDataEx object by file name.
Table 3-10
defines the parameters.
Table 3-10
LPDISPATCH RetrieveObjectEx parameters
Parameter
LPCTSTR lpszFQName
CRemoteDataManager methods
Description
TRUE if another remote object file matching the
pattern specified in the call to FindFirst() is found.
The full path name of the matching file is stored in
pbstrFullQualName.
Description
The fully qualified remote 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
The fully qualified remote object file name to be
loaded.
Visual C++ object definitions
73