IMediaSample2::SetProperties

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. cbProperties specifies the length of the data. This value can be NULL if cbProperties is NULL. Data conforms to the format of the AM_SAMPLE2_PROPERTIES structure.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.