ID3D12Device::OpenSharedHandleByName method (d3d12.h)
Opens a handle for shared resources, shared heaps, and shared fences, by using Name and Access.
Syntax
HRESULT OpenSharedHandleByName(
[in] LPCWSTR Name,
DWORD Access,
[out] HANDLE *pNTHandle
);
Parameters
[in] 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.
[out] pNTHandle
Type: HANDLE*
Pointer to the shared handle.
Return value
Type: HRESULT
This method returns one of the Direct3D 12 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12.h |
Library | D3D12.lib |
DLL | D3D12.dll |