IMSVidVideoRenderer2::get_Allocator_ID method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

Syntax

HRESULT get_Allocator_ID(
  [out] long *ID
);

Parameters

[out] ID

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

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidVideoRenderer2 Interface