MFCreateProxyLocator function
Creates a default proxy locator.
Syntax
HRESULT MFCreateProxyLocator( _In_ LPCWSTR pszProtocol, _In_ IPropertyStore *pProxyConfig, _Out_ IMFNetProxyLocator **ppProxyLocator );
Parameters
- pszProtocol [in]
-
The name of the protocol.
Note In this release of Media Foundation, the default proxy locator does not support RTSP. - pProxyConfig [in]
-
Pointer to the IPropertyStore interface of a property store that contains the proxy configuration in the MFNETSOURCE_PROXYSETTINGS property.
- ppProxyLocator [out]
-
Receives a pointer to the IMFNetProxyLocator interface. The caller must release the interface.
Return value
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The function succeeded. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also