IMFNetProxyLocatorFactory::CreateProxyLocator method

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

Syntax


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

Parameters

pszProtocol [in]

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

ppProxyLocator [out]

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

The method succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFNetProxyLocatorFactory

 

 

Community Additions

ADD
Show:
© 2014 Microsoft