Microsoft DirectX 9.0

IAMDevMemoryAllocator::Free

Note   The IAMDevMemoryAllocator interface is deprecated.

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 didn't allocate the memory (that is, CheckMemory fails).

Remarks

This method frees a block of memory from the pool.

See Also