Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Gets the host name for the content source, if applicable.
Syntax
HRESULT GetHost(
[out] WCHAR [] wszHost,
[in] DWORD dwSize,
[out] DWORD *pdwLength
);
Parameters
[out] wszHost
Type: WCHAR[]
Receives the name of the host that the content source file resides on, as a null-terminated Unicode string.
[in] dwSize
Type: DWORD
Size in TCHARs of wszHost, not including the terminating NULL.
[out] pdwLength
Type: DWORD*
Receives a pointer to the number of TCHARs written to wszHost, not including the terminating NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
| Target Platform | Windows |
| Header | searchapi.h |
| Redistributable | Windows Desktop Search (WDS) 3.0 |