IAMDevMemoryAllocator::Alloc (Compact 2013)
3/26/2014
This method allocates a memory buffer.
Syntax
HRESULT Alloc(
BYTE** ppBuffer,
DWORD* pdwcbBuffer
);
Parameters
- ppBuffer
[out] Address of a pointer to the allocated memory buffer.
- pdwcbBuffer
[in, out] For input, the number of bytes to allocate. For output, the number of actual bytes allocated.
Return Value
Returns S_OK if the desired quantity of memory was allocated, S_FALSE if memory was unavailable.
Remarks
Call this method to allocate a block of memory from the available pool.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |