Retrieves the event type. The event type indicates what happened to trigger the event. It also defines the meaning of the event value.
public:
HRESULT GetType(
MediaEventType *pmet
)
pmet
Type: MediaEventType *
[out]
Receives the event type. For a list of event types, see Media Foundation Events.
Type: HRESULT
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
| S_OK | The method succeeded. |
Refer to Media Foundation return codes.
Header: Declared in mfobjects.h (include mfidl.h).
Library: Use mfuuid.lib.