Skip to main content
Opens a handle for shared resources, shared heaps, and shared fences, by using HANDLE and REFIID.

Syntax

Parameters

NTHandle [in]
Type: HANDLE
The handle that was output by the call to ID3D12Device::CreateSharedHandle. riid
Type: const IID &
The globally unique identifier (GUID) for one of the following interfaces: The REFIID, or GUID, of the interface can be obtained by using the __uuidof() macro. For example, __uuidof(ID3D12Heap) will get the GUID of the interface to a resource. ppvObj [out, optional]
Type: void **
A pointer to a memory block that receives a pointer to one of the following interfaces:

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

ID3D12Device Multi-adapter systems
Last modified on August 20, 2026