Partager via


IMSVidVideoRenderer2::get_Allocator_ID

 
Microsoft DirectShow 9.0

IMSVidVideoRenderer2::get_Allocator_ID

This topic applies to Windows XP Service Pack 1 or later.

The get_Allocator_ID method retrieves an identifier for the VMR filter's allocator-presenter.

Syntax

  HRESULT get_Allocator_ID(
    long *
  pID
  
  );

Parameters

pID

[out]  Pointer to a variable that receives the identifier. If the returned value is -1, the MSVidVideoRenderer object will assign a default identifier when it builds the filter graph.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.

Remarks

The identifier is for application use; it is not used by the VMR.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also