IMFNetProxyLocator interface (mfidl.h)
Determines the proxy to use when connecting to a server. The network source uses this interface.
Applications can create the proxy locator configured by the application by implementing the IMFNetProxyLocatorFactory interface and setting the MFNETSOURCE_PROXYLOCATORFACTORY property on the source resolver. Otherwise, the network source uses the default Media Foundation implementation.
To create the default proxy locator, call MFCreateProxyLocator.
Inheritance
The IMFNetProxyLocator interface inherits from the IUnknown interface. IMFNetProxyLocator also has these types of members:
Methods
The IMFNetProxyLocator interface has these methods.
IMFNetProxyLocator::Clone Creates a new instance of the default proxy locator. |
IMFNetProxyLocator::FindFirstProxy Initializes the proxy locator object. |
IMFNetProxyLocator::FindNextProxy Determines the next proxy to use. |
IMFNetProxyLocator::GetCurrentProxy Retrieves the current proxy information including hostname and port. |
IMFNetProxyLocator::RegisterProxyResult Keeps a record of the success or failure of using the current proxy. |
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 |