Skip to content

Latest commit

 

History

History
130 lines (109 loc) · 4.5 KB

nf-mfidl-imfhttpdownloadsessionprovider-createhttpdownloadsession.md

File metadata and controls

130 lines (109 loc) · 4.5 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfidl.IMFHttpDownloadSessionProvider.CreateHttpDownloadSession
IMFHttpDownloadSessionProvider::CreateHttpDownloadSession (mfidl.h)
Called by the Microsoft Media Foundation to open HTTP or HTTPS URLs instead of using the default implementation.
CreateHttpDownloadSession
CreateHttpDownloadSession method [Media Foundation]
CreateHttpDownloadSession method [Media Foundation]
IMFHttpDownloadSessionProvider interface
IMFHttpDownloadSessionProvider interface [Media Foundation]
CreateHttpDownloadSession method
IMFHttpDownloadSessionProvider.CreateHttpDownloadSession
IMFHttpDownloadSessionProvider::CreateHttpDownloadSession
mf.imfhttpdownloadsessionprovider_createhttpdownloadsession
mfidl/IMFHttpDownloadSessionProvider::CreateHttpDownloadSession
mf\imfhttpdownloadsessionprovider_createhttpdownloadsession.htm
mf
D9DAE789-1C0E-42B4-87B6-593D3B67FE1F
12/05/2018
CreateHttpDownloadSession, CreateHttpDownloadSession method [Media Foundation], CreateHttpDownloadSession method [Media Foundation],IMFHttpDownloadSessionProvider interface, IMFHttpDownloadSessionProvider interface [Media Foundation],CreateHttpDownloadSession method, IMFHttpDownloadSessionProvider.CreateHttpDownloadSession, IMFHttpDownloadSessionProvider::CreateHttpDownloadSession, mf.imfhttpdownloadsessionprovider_createhttpdownloadsession, mfidl/IMFHttpDownloadSessionProvider::CreateHttpDownloadSession
mfidl.h
Windows
Windows 10, version 1703 [desktop apps only]
None supported
Mfplat.lib; Mfplat.dll
Windows
19H1
IMFHttpDownloadSessionProvider::CreateHttpDownloadSession
mfidl/IMFHttpDownloadSessionProvider::CreateHttpDownloadSession
c++
APIRef
kbSyntax
COM
mfplat.lib
mfplat.dll
mfplat.dll
mfplat.dll.dll
IMFHttpDownloadSessionProvider.CreateHttpDownloadSession

IMFHttpDownloadSessionProvider::CreateHttpDownloadSession

-description

Called by the Microsoft Media Foundation to open HTTP or HTTPS URLs instead of using the default implementation.

-parameters

-param wszScheme [in]

The name of the protocol to for which an IMFHttpDownloadSession is being requested. Microsoft Media Foundation specifies the protocol scheme of the URL that the application provided the Media Foundation Source Resolver. Valid values include “http” for HTTP, and “https” for HTTPS. URL scheme names are generally not case-sensitive.

-param ppDownloadSession [out]

On successful execution, the parameter is set to a pointer to an IMFHttpDownloadSession interface. The returned interface is used by Microsoft Media Foundation to open a single HTTP or HTTPS URL.

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
Successfully created the IMFHttpDownloadSession object.
E_INVALIDARG
The value specified for the wszScheme parameter is incorrect.
E_POINTER
The ppDownloadSession parameter is an invalid pointer.
E_OUTOFMEMORY
There is insufficient memory to complete the operation.

-remarks

Specifying “https” as the value of wszScheme does not imply that HTTPS will be used for a particular request, as that is specified on a per-request basis in IMFhttpDownloadSession::CreateRequest.

-see-also

IMFHttpDownloadSessionProvider