CBaseAllocator::Decommit (Compact 2013)
3/26/2014
Releases the memory for the specified buffers.
Syntax
HRESULT Decommit(void);
Parameters
None.
Return Value
Returns an HRESULT value.
Remarks
This member function implements the IMemAllocator::Decommit method. Any threads waiting in the IMemAllocator::GetBuffer method return with an error after this method is called.
The IMemAllocator::GetBuffer method fails if it is called before the IMemAllocator::Commit method or after this method.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |