|Microsoft DirectX 9.0|
Note The IAMDevMemoryAllocator interface is deprecated.
Tests whether the specific instance (device) of the allocator allocated a memory pointer.
HRESULT CheckMemory( const BYTE *pBuffer );
[in] Pointer to the allocated memory buffer's address.
Returns S_OK if the on-board allocator allocated the memory, or S_FALSE if not. Memory that is on the particular device but not allocated will also return S_FALSE.
The hardware filter typically uses this method to test whether the pointer actually points to on-board memory.