![Symantec OLE Automation Скачать руководство пользователя страница 35](http://html.mh-extra.com/html/symantec/ole-automation/ole-automation_manual_1418926035.webp)
Description
Parameter or
return value
CHostDataManager
method
TRUE if a host object file matching the
specified pattern is found. The full path name
of the matching file is stored in Name
Return value =
Boolean
FindFirst
Return buffer for the full path name of the
host object file that matches the pattern
specified in the original call to FindFirst()
Parameter =
Name as string
FindNext(Name)
TRUE if another host object file matching the
pattern specified in the call to FindFirst() is
found. The full path name of the matching
file is stored in Name
Return value =
Boolean
FindNext
The fully qualified host object file name to be
loaded
Parameter =
Name as string
RetrieveObject(Name)
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 =
AccessMode as
integer
RetrieveObject(AccessMode)
Object password. May be NULL
Parameter =
Password as
string
RetrieveObject(Password)
CHostData object from the specified file
Return value =
Object
RetrieveObject
The fully qualified host object file name to be
loaded
Parameter =
Name as string
RetrieveObjectEx(Name)
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 =
AccessMode as
integer
RetrieveObjectEx(AccessMode)
35
Visual Basic object definitions
CHostDataManager methods