Share via


IAMDevMemoryAllocator::Free (Compact 2013)

3/26/2014

This method frees the previously allocated memory.

Syntax

HRESULT Free(
  BYTE* pBuffer
);

Parameters

  • pBuffer
    [in] Pointer to the allocated memory.

Return Value

Returns E_INVALIDARG if the specified allocator did not allocate the memory (that is, CheckMemory fails).

Remarks

This method frees a block of memory from the pool.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMDevMemoryAllocator Interface