Microsoft DirectX 9.0


The GetInternalMemInfo method retrieves information about the uncompressed data memory requirements, based on the video accelerator GUID, the uncompressed size, and the pixel format.


HRESULT GetInternalMemInfo(
  const GUID *pGuid,
  const AMVAUncompDataInfo *pamvaUncompDataInfo,
  LPAMVAInternalMemInfo pamvaInternalMemInfo



[in] Pointer to a video accelerator GUID.


[in] Pointer to an AMVAUncompDataInfo structure containing the size and pixel format of the uncompressed data.


[in, out] Pointer to an AMVAInternalMemInfo structure containing information on the scratch memory requirement.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.

Return code Description
E_FAIL Failure.
E_INVALIDARG Argument is invalid.
E_NOTIMPL Method is not supported.
E_POINTER Null pointer argument.
S_OK Success.

See Also