ID3D12Device::OpenSharedHandleByName method
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
- 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 |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: