Share via


IMSVidVMR9::get_Allocator_ID Method

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.
The get_Allocator_ID method retrieves the identifier of the application's custom allocator-presenter.

Syntax

HRESULT get_Allocator_ID(
  [out]  long *ID
);

Parameters

  • ID [out]
    Receives the identifier. If the application did not set an allocator-presenter, the value is –1.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description

S_OK

The method succeeded.

Remarks

To set a custom allocator-presenter, call IMSVidVMR9::SetAllocator.

See Also

IMSVidVMR9 Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008