IADsPathname::GetElement method (iads.h)
The IADsPathname::GetElement method retrieves an element of a directory path.
HRESULT GetElement(
[in] long lnElementIndex,
[out] BSTR *pbstrElement
);
[in] lnElementIndex
The index of the element.
[out] pbstrElement
The returned element.
This method supports the standard return values, as well as the following:
For more information and other return values, see ADSI Error Codes.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | iads.h |
DLL | Activeds.dll |