Contents Index Topic Contents | ||
Previous Topic: IURLSearchHook Next Topic: Functions |
IURLSearchHook::Translate
HRESULT Translate( LPWSTR lpwszSearchURL, DWORD cchBufferSize );Called by the browser when the browser cannot determine the protocol of a URL address.
- This method must return one of the following values:
S_OK The URL address was completely translated. The lpwszSearchURL parameter contains the full URL address. The browser will not call any other URL Search Hooks and will attempt to browse to the modified address. S_FALSE The URL address has been partially processed, but further translation is still required. The lpwszSearchURL parameter contains the result of the processing. The browser will continue executing the rest of the URL Search Hooks. E_FAIL The URL address was not translated. The lpwszSearchURL parameter has not been modified. The browser will continue executing the rest of the URL Search Hooks.
- lpwszSearchURL
- Address of a wide character buffer that, on entry, contains the URL address for which the browser is trying to determine the protocol. On exit, this buffer contains the modified URL address if the method was successful. See the return value for more information.
- cchBufferSize
- Size, in characters, of the buffer at lpwszSearchURL.
Version 4.71
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.