IMFNetProxyLocator::FindFirstProxy method (mfidl.h)

Initializes the proxy locator object.

Syntax

HRESULT FindFirstProxy(
  [in] LPCWSTR pszHost,
  [in] LPCWSTR pszUrl,
  [in] BOOL    fReserved
);

Parameters

[in] pszHost

Null-terminated wide-character string containing the hostname of the destination server.

[in] pszUrl

Null-terminated wide-character string containing the destination URL.

[in] fReserved

Reserved. Set to FALSE.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFNetProxyLocator