IUrlAccessor2::GetDisplayUrl Method
Gets the user-friendly path for the URL item.
Syntax
HRESULT GetDisplayUrl( WCHAR wszDocUrl[], DWORD dwSize, DWORD *pdwLength );
Parameters
- wszDocUrl
[out] Receives the display URL as a null-terminated Unicode string.- dwSize
[in] Size in TCHARs of wszDocUrl.- pdwLength
[out] Receives a pointer to the number of TCHARs written to wszDocUrl, not including the terminating NULL.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Protocol handlers can reveal hierarchical or non-hierarchical stores. If the data store is organized hierarchically, users can scope their searches to a specified container object like a directory or folder.