Expand Minimize

D3DKMTOpenSyncObjectFromNtHandle function

Maps an NT process handle to a graphics processing unit (GPU) synchronization object.

Syntax


EXTERN_C _Check_return_ NTSTATUS APIENTRY D3DKMTOpenSyncObjectFromNtHandle(
  _Inout_  D3DKMT_OPENSYNCOBJECTFROMNTHANDLE *pObject
);

Parameters

pObject [in, out]

A pointer to a D3DKMT_OPENSYNCOBJECTFROMNTHANDLE structure that describes information that is required to perform the mapping.

Return value

Returns one of the following values:

Return codeDescription
STATUS_SUCCESS

The mapping was performed successfully.

STATUS_INVALID_PARAMETER

Parameters were validated and determined to be incorrect.

 

This function might also return other NTSTATUS values.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DKMT_OPENSYNCOBJECTFROMNTHANDLE

 

 

Send comments about this topic to Microsoft

顯示:
© 2014 Microsoft