IMFNetProxyLocatorFactory::CreateProxyLocator method (mfidl.h)

Creates an IMFNetProxyLocator interface proxy locator object based on the protocol name.

Syntax

HRESULT CreateProxyLocator(
  [in]  LPCWSTR            pszProtocol,
  [out] IMFNetProxyLocator **ppProxyLocator
);

Parameters

[in] pszProtocol

Null-terminated wide-character string containing the protocol name (for example, RTSP or HTTP).

[out] ppProxyLocator

Receives a pointer to the IMFNetProxyLocator interface. The caller must release the interface.

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

IMFNetProxyLocatorFactory