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

Syntax

Parameters

Name [in]
Type: LPCWSTR
The name that was optionally passed as the Name parameter in the call to ID3D12Device::CreateSharedHandle. Access
Type: DWORD
The access level that was specified in the Access parameter in the call to ID3D12Device::CreateSharedHandle. pNTHandle [out]
Type: HANDLE *
Pointer to the shared handle.

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
Last modified on August 20, 2026