共用方式為


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.

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.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also