다음을 통해 공유


CPullPin::DecideAllocator (Windows CE 5.0)

Send Feedback

Negotiates an allocator to use with the asynchronous reader.

virtual HRESULT DecideAllocator(ImemAllocator* pAlloc,ALLOCATOR_PROPERTIES* pProps);

Parameters

  • pAlloc
    Allocator to propose as the preferred allocator (optional). Pass NULL if you are not proposing an allocator.
  • pProps
    Size, count, and alignment of the allocator (optional). Pass zero if not requesting the allocator properties.

Return Values

Returns S_OK if successful, VFW_E_BADALIGN if eProps contains an invalid alignment property, E_OUTOFMEMORY if there is not enough memory available to create an allocator, and E_NOINTERFACE if the created IMemAllocator interface is invalid.

Remarks

This member function calls the IAsyncReader::RequestAllocator method to negotiate an allocator.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.