CMediaSample.GetProperties 方法
该方法 GetProperties
检索示例的属性。 此方法实现 IMediaSample2::GetProperties 方法。
语法
HRESULT GetProperties(
DWORD cbProperties,
BYTE *pbProperties
);
参数
-
cbProperties
-
要检索的属性数据的长度(以字节为单位)。
-
pbProperties
-
指向 大小为 cbProperties 的缓冲区的指针。
返回值
返回下表中显示的 HRESULT 值之一。
返回代码 | 说明 |
---|---|
|
成功。 |
|
NULL 指针参数。 |
要求
要求 | Value |
---|---|
标头 |
|
库 |
|