|Microsoft DirectX 9.0|
Note The IAMDevMemoryAllocator interface is deprecated.
Retrieves information about the memory capabilities.
HRESULT GetInfo( DWORD *pdwcbTotalFree, DWORD *pdwcbLargestFree, DWORD *pdwcbTotalMemory, DWORD *pdwcbMinimumChunk );
[out] Pointer to the total free memory size.
[out] Pointer to the returned largest free memory size.
[out] Pointer to the returned total memory size.
[out] Pointer to the returned minimum chunk size, giving granularity and alignment rules.
Returns an HRESULT value.
Use this method to find out the total amount of memory available. This method returns values for the entire on-board memory that is available on that device. If multiple filters (devices) share the memory, it will return the amount available to that specific device, which might be a portion of the total amount of on-board memory. This amount will be implementation-specific. For example, the on-board memory manager on the codec might be able to access all 32 megabytes (MB) of memory on the card. However, individual pin implementations of IAMDevMemoryAllocator only report a portion of this memory.