Skip to main content
Creates a lifetime tracker associated with an application-defined callback; the callback receives notifications when the lifetime of a tracked object is changed.

Syntax

Parameters

pOwner [in]
Type: ID3D12LifetimeOwner *
A pointer to an ID3D12LifetimeOwner interface representing the application-defined callback. riid [in]
Type: const IID &
A reference to the interface identifier (IID) of the interface to return in ppvTracker. ppvTracker [out]
Type: void **
A pointer to a memory block that receives the requested interface pointer to the created object.

Return value

Type: HRESULT

Remarks

Requirements

Header: d3d12_xs.h
Library: d3d12_xs.lib
Supported Platforms: XBOX Series consoles

See Also

Last modified on August 20, 2026