IMFMediaEvent::GetExtendedType Method

Retrieves the extended type of the event.

Syntax

public:
HRESULT GetExtendedType(
         GUID *pguidExtendedType
)  

Parameters

pguidExtendedType
Type: GUID *

[out]

Receives a GUID that identifies the extended type.

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

To define a custom event, create a new extended-type GUID and send an MEExtendedType event with that GUID.

Some standard Media Foundation events also use the extended type to differentiate between types of event data.

Requirements

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

Library: Use mfuuid.lib.