IMemAllocator::GetProperties method

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

Syntax


HRESULT GetProperties(
  [out] 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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IMemAllocator Interface

 

 

Show: