Retrieves the number of buffers in the sample.
public:
HRESULT GetBufferCount(
DWORD *pdwBufferCount
)
pdwBufferCount
Type: DWORDÂ *
[out]
Receives the number of buffers in the sample. A sample might contain zero buffers.
Type: HRESULTÂ
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
| S_OK | The method succeeded. |
Refer to Media Foundation return codes.
Header: Declared in mfobjects.h (include mfidl.h).
Library: Use mfuuid.lib.