ID3D12Device::OpenSharedHandleByName method

Opens a handle for shared resources, shared heaps, and shared fences, by using Name and Access.

Syntax

HRESULT OpenSharedHandleByName(
  LPCWSTR Name,
  DWORD   Access,
  HANDLE  *pNTHandle
);

Parameters

Name

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

Type: HANDLE*

Pointer to the shared handle.

Return Value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Requirements

   
Target Platform Windows
Header d3d12.h
Library D3D12.lib
DLL D3D12.dll

See Also

ID3D12Device