MFPMediaItem_GetStreamAttribute
Queries the media item for a stream attribute.
MFPMediaItem_GetStreamAttribute PROTO pMediaItem:DWORD, dwStreamIndex:DWORD, guidMFAttribute:DWORD, pvValue:DWORD
Parameters
pMediaItem- A pointer to the Media Item (IMFPMediaItem) object.dwStreamIndex- Zero-based index of the stream.guidMFAttribute- GUID that identifies the attribute value to query.pvValue- Pointer to a PROPVARIANT that receives the value.
Returns
TRUE if successful or FALSE otherwise.
Notes
Call PropVariantClear to free the memory allocated and stored in variable pointed to by the pvValue parameter.
Includelib mfuuid.lib to reference the already defined and exported property GUIDs in that library.
See Also
MFPMediaItem_GetPresentationAttribute, MFPMediaItem_GetCharacteristics