|Microsoft DirectX 9.0|
Note The IAMDevMemoryAllocator interface is deprecated.
Allocates a memory buffer.
HRESULT Alloc( BYTE **ppBuffer, DWORD *pdwcbBuffer );
[out] Pointer that will receive the address of the allocated memory buffer.
[in, out] Pointer to a DWORD whose input value is the number of bytes to allocate and whose output value is the actual number of bytes allocated.
Returns S_OK if the desired quantity of memory was allocated, S_FALSE if memory was unavailable.
Call this method to allocate a block of memory from the available pool.