IMemAllocator::GetProperties
Microsoft DirectShow 9.0 |
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 Values
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.
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also