IMFMediaEvent::GetStatus Method

Retrieves an HRESULT that specifies the event status.

Syntax

public:
HRESULT GetStatus(
         HRESULT *phrStatus
)  

Parameters

phrStatus
Type: HRESULT *

[out]

Receives the event status. If the operation that generated the event was successful, the value is a success code. A failure code means that an error condition triggered the event.

Return value

Type: HRESULT 

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

Return codes
Return code Description
S_OK The method succeeded.

Refer to Media Foundation return codes.

Remarks

Requirements

Header: Declared in mfobjects.h (include mfidl.h).

Library: Use mfuuid.lib.