Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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 codeDescription
S_OK

The function succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mf.lib

DLL

Mf.dll

See also

Media Foundation Functions
Proxy Support for Network Sources

 

 

Community Additions

ADD
Show:
© 2015 Microsoft