IMSVidVideoRenderer2::get_Allocator
Microsoft DirectShow 9.0 |
IMSVidVideoRenderer2::get_Allocator
This topic applies to Windows XP Service Pack 1 or later.
The get__Allocator method retrieves the allocator-presenter from the VMR as an IUnknown pointer.
This method is provided for Automation clients. C++ applications can also use the get__Allocator method, which returns an IVMRSurfaceAllocator pointer.
Syntax
HRESULT get_Allocator( IUnknown ** ppAllocPresent );
Parameters
ppAllocPresent
[out] Address of a variable that receives a pointer to the allocator-presenter's IUnknown interface.
Return Values
Returns an HRESULT value. Possible values include the following.
Value | Description |
S_OK | Success. |
Remarks
The caller must release the returned IUnknown interface.
Requirements
Header: Dshow.h.
Library: Quartz.dll.
See Also