Microsoft DirectX 8.1 (C++)

IMemAllocator::GetProperties

The GetProperties method retrieves the number of buffers that the allocator will create, and the buffer properties.

Syntax

HRESULT GetProperties(
  ALLOCATOR_PROPERTIES *pProps
);

Parameters

pProps

[out] Pointer to an ALLOCATOR_PROPERTIES structure that receives the allocator properties.

Return Value

Returns S_OK if successful, or an HRESULT value indicating the cause of the error.

Remarks

Calls to this method might not succeed until the IMemAllocator::Commit method is called.

See Also