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. |
|
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 |
|
|
|
|
|
|
Called by the Microsoft Media Foundation to open HTTP or HTTPS URLs instead of using the default implementation.
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.
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.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
Successfully created the IMFHttpDownloadSession object. |
|
The value specified for the wszScheme parameter is incorrect. |
|
The ppDownloadSession parameter is an invalid pointer. |
|
There is insufficient memory to complete the operation. |
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.