IMFMediaEngine::GetError method
Gets the most recent error status.
Syntax
HRESULT GetError( [out] IMFMediaError **ppError );
Parameters
- ppError [out]
-
Receives either a pointer to the IMFMediaError interface, or the value NULL. If the value is non-NULL, the caller must release the interface.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method returns the last error status, if any, that resulted from loading the media source. If there has not been an error, ppError receives the value NULL.
This method corresponds to the error attribute of the HTMLMediaElement interface in HTML5.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8 |
|
Header |
|
See also