Retrieves the length of the valid data in the buffer.
public:
HRESULT GetCurrentLength(
DWORD *pcbCurrentLength
)
pcbCurrentLength
Type: DWORDÂ *
[out]
Receives the length of the valid data, in bytes. If the buffer does not contain any valid data, the value is zero.
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.