Microsoft DirectX 9.0

IMSVidVideoRenderer2::get__Allocator

This topic applies to Windows XP Service Pack 1 only.

The get__Allocator method retrieves the allocator-presenter from the VMR.

Syntax

HRESULT get__Allocator(
    IVMRSurfaceAllocator **ppAllocPresent
);

Parameters

ppAllocPresent

[out]  Address of a variable that receives an IVMRSurfaceAllocator interface pointer.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_POINTER NULL pointer argument.

Remarks

The caller must release the IVMRSurfaceAllocator interface.

See Also