Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D12Device::OpenSharedHandle method

Opens a handle for shared resources, shared heaps, and shared fences, by using HANDLE and REFIID.

Syntax


HRESULT OpenSharedHandle(
  [in]            HANDLE NTHandle,
                  REFIID riid,
  [out, optional] void   **ppvObj
);

Parameters

NTHandle [in]

Type: HANDLE

The handle that was output by the call to ID3D12Device::CreateSharedHandle.

riid

Type: REFIID

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.h

Library

D3D12.lib

DLL

D3D12.dll

See also

ID3D12Device
Multi-Adapter

 

 

Show:
© 2017 Microsoft