IUrlAccessor::GetHost Method
Gets the host name for the content source, if applicable.
Syntax
HRESULT GetHost( WCHAR wszHost[], DWORD dwSize, DWORD *pdwLength );
Parameters
- wszHost
[out] Receives the name of the host that the content source file resides on, as a null-terminated Unicode string.- dwSize
[in] Size in TCHARs of wszHost, not including the terminating NULL.- pdwLength
[out] Receives a pointer to the number of TCHARs written to wszHost, not including the terminating NULL.
Return Value
Returns S_OK if successful, or an error value otherwise.