Skip to content

Latest commit

 

History

History
132 lines (85 loc) · 4.04 KB

ns-d3dkmthk-_d3dkmt_openresourcefromnthandle.md

File metadata and controls

132 lines (85 loc) · 4.04 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dkmthk._D3DKMT_OPENRESOURCEFROMNTHANDLE
_D3DKMT_OPENRESOURCEFROMNTHANDLE (d3dkmthk.h)
Describes information that is required to open a shared resource from an NT handle to the process. The shared resource can be a set of allocations, a keyed mutex, or a synchronization object.
display\d3dkmt_openresourcefromnthandle.htm
05/10/2018
D3DKMT_OPENRESOURCEFROMNTHANDLE structure
D3DKMT_OPENRESOURCEFROMNTHANDLE, D3DKMT_OPENRESOURCEFROMNTHANDLE structure [Display Devices], _D3DKMT_OPENRESOURCEFROMNTHANDLE, d3dkmthk/D3DKMT_OPENRESOURCEFROMNTHANDLE, display.d3dkmt_openresourcefromnthandle
d3dkmthk.h
D3dkmthk.h
Windows
Windows 8
Windows Server 2012
Windows
display
D3DKMT_OPENRESOURCEFROMNTHANDLE
_D3DKMT_OPENRESOURCEFROMNTHANDLE
d3dkmthk/_D3DKMT_OPENRESOURCEFROMNTHANDLE
D3DKMT_OPENRESOURCEFROMNTHANDLE
d3dkmthk/D3DKMT_OPENRESOURCEFROMNTHANDLE
APIRef
kbSyntax
HeaderDef
D3dkmthk.h
_D3DKMT_OPENRESOURCEFROMNTHANDLE
D3DKMT_OPENRESOURCEFROMNTHANDLE

_D3DKMT_OPENRESOURCEFROMNTHANDLE structure

-description

Describes information that is required to open a shared resource from an NT handle to the process. The shared resource can be a set of allocations, a keyed mutex, or a synchronization object.

-struct-fields

-field hDevice [in]

A D3DKMT_HANDLE data type that represents the device.

-field hNtHandle [in]

An NT handle to the process.

-field NumAllocations [in]

The number of allocations associated with the resource.

-field pOpenAllocationInfo2 [in]

This member is reserved and should be set to zero.

-field PrivateRuntimeDataSize [in]

The size, in bytes, of the buffer pointed to by the pPrivateRuntimeData member.

-field pPrivateRuntimeData [in]

A caller-supplied buffer where the runtime private data associated with this resource will be copied to.

-field ResourcePrivateDriverDataSize [in]

The size, in bytes, of the buffer pointed to by the pResourcePrivateDriverData member.

-field pResourcePrivateDriverData [in]

A caller-supplied buffer where the driver private data associated with the resource will be copied to.

-field TotalPrivateDriverDataBufferSize [in]

The size, in bytes, of the buffer pointed to by the pTotalPrivateDriverDataBuffer member.

[out] The size, in bytes, of the data written to pTotalPrivateDriverDataBuffer.

-field pTotalPrivateDriverDataBuffer [in]

A pointer to a caller-supplied buffer where the driver private data will be stored.

-field hResource [out]

A handle to the resource in this process.

-field hKeyedMutex [out]

A handle to the keyed mutex in this process.

-field pKeyedMutexPrivateRuntimeData [in]

A buffer that contains initial private data.

The data in this buffer will be copied only if the keyed mutex does not already have private data.

If this member has a value of NULL, the value of the KeyedMutexPrivateRuntimeDataSize member must be zero.

-field KeyedMutexPrivateRuntimeDataSize [in]

The size, in bytes, of the buffer pointed to by the pKeyedMutexPrivateRuntimeData member.

-field hSyncObject [out]

A handle to the synchronization object in this process.

-see-also

D3DDDI_OPENALLOCATIONINFO2

D3DKMTOpenNtHandleFromName

D3DKMTShareObjects