Microsoft Windows CE 3.0  

IMediaSample2::SetProperties

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Sets the properties of a media sample

HRESULT SetProperties(
DWORD
cbProperties
, const BYTE *
pbProperties
);

Parameters

cbProperties
[in] Length of property data to set, in bytes.
pbProperties
[in] Pointer to properties to set. cbPropertiesspecifies the length of the data. This value can be NULL if cbPropertiesis NULL. Data conforms to the format of the AM_SAMPLE2_PROPERTIESstructure.

Return Values

Returns an HRESULTvalue that depends on the implementation of the interface.