Share via


IMSVidVideoRenderer2::get_Allocator_ID Method

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(
  [out]  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 Value

Returns an HRESULT value. Possible values include the following.

Return code Description

S_OK

Success.

Remarks

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

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidVideoRenderer2 Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008