Bewerken

Delen via


PFND3DKMT_SHAREOBJECTS callback function (d3dkmthk.h)

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

Requirement Value
Header d3dkmthk.h