IMFHttpDownloadRequest::GetHttpStatus method (mfidl.h)
Invoked by Microsoft Media Foundation to retrieve the HTTP status code that the server specified in its response. Media Foundation invokes this method after a successful call to EndReceiveResponse.
Syntax
HRESULT GetHttpStatus(
[out] DWORD *pdwHttpStatus
);
Parameters
[out] pdwHttpStatus
The HTTP status code of the response. For example, the value is 200 for a typical successful response.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
Successfully returned the HTTP status code. |
|
The HTTP response has not yet been received. |
|
The pdwHttpStatus parameter is an invalid pointer. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfplat.lib; Mfplat.dll |