Share via


IAMDevMemoryAllocator::Free (Windows Embedded CE 6.0)

1/6/2010

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

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

IAMDevMemoryAllocator Interface