Previous | Next |
The AllocateForOutput method allocates buffers for samples delivered to IWMReader::OnSample.
Syntax
HRESULT AllocateForOutput(
DWORD dwOutputNum,
DWORD cbBuffer,
INSSBuffer** ppBuffer,
void* pvContext
);
Parameters
dwOutputNum
[in] Double word containing the output number.
cbBuffer
[in] Count of bytes in the buffer.
ppBuffer
[out] If the method succeeds, returns a pointer to a pointer to an INSSBuffer object.
pvContext
[in] Universal pointer to the context. The context matches the context passed to IWMReader::Start.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
See Also
Previous | Next |