PFND3DKMT_SHAREOBJECTS callback function

The PFND3DKMT_SHAREOBJECTS callback function shares resource objects that were created with the D3DKMTCreateAllocation, D3DKMTCreateKeyedMutex2, and D3DKMTCreateSynchronizationObject2 functions.

Syntax

PFND3DKMT_SHAREOBJECTS Pfnd3dkmtShareobjects;

NTSTATUS Pfnd3dkmtShareobjects(
  UINT cObjects,
  const D3DKMT_HANDLE *hObjects,
  POBJECT_ATTRIBUTES pObjectAttributes,
  DWORD dwDesiredAccess,
  HANDLE *phSharedNtHandle
)
{...}

Parameters

cObjects

hObjects

pObjectAttributes

dwDesiredAccess

phSharedNtHandle

Return Value

Returns NTSTATUS.

Requirements

   
Header d3dkmthk.h