Skip to main content
Associates an IUnknown-derived interface with the device object and associates that interface with an application-defined GUID.

Syntax

Parameters

guid [in]
Type: const GUID &
The GUID to associate with the interface. pData [in, optional]
Type: const IUnknown *
A pointer to the IUnknown-derived interface to be associated with the device object.

Return value

Type: HRESULT This method returns one of the Direct3D 12 Return Codes.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

ID3D12Object
Last modified on August 20, 2026