Platform SDK: TAPI |
Gets collection of objects in a given directory that match certain criteria. This method performs the same function as EnumerateDirectoryObjects but is used by Visual Basic and other scripting languages.
HRESULT get_DirectoryObjects( DIRECTORY_OBJECT_TYPE DirectoryObjectType, BSTR pName, VARIANT *pVariant );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
RND_NOT_CONNECTED | The ITDirectory::Connect method has not been invoked or did not succeed. |
E_NOTIMPL | This method is not implemented. |
The application must use SysAllocString to allocate memory for the pName parameter and use SysFreeString to free the memory when the variable is no longer needed.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Rend.h.
Library: Use Rendid.lib.
ITDirectory, DIRECTORY_OBJECT_TYPE, ITCollection, ITDirectoryObject