D3DKMT_CONFIGURESHAREDRESOURCE structure (d3dkmthk.h)

The D3DKMT_CONFIGURESHAREDRESOURCE structure describes parameters that the D3DKMTConfigureSharedResource function uses to configure a shared resource.

Syntax

typedef struct _D3DKMT_CONFIGURESHAREDRESOURCE {
  [in] D3DKMT_HANDLE hDevice;
  [in] D3DKMT_HANDLE hResource;
  [in] BOOLEAN       IsDwm;
  [in] HANDLE        hProcess;
  [in] BOOLEAN       AllowAccess;
} D3DKMT_CONFIGURESHAREDRESOURCE;

Members

[in] hDevice

A handle to the device that the resource is associated with.

[in] hResource

A D3DKMT_HANDLE data type that represents a kernel-mode handle to the shared resource to configure.

[in] IsDwm

A Boolean value that specifies whether the current process is the Desktop Windows Manager (DWM). TRUE indicates DWM; FALSE indicates that the current process is non-DWM and is specified by the hProcess member.

[in] hProcess

A handle to the process for the non-DWM situation.

[in] AllowAccess

A Boolean value that specifies whether the D3DKMTConfigureSharedResource function should allow the process to access the resource. TRUE indicates to allow access; FALSE indicates to not allow access.

Requirements

Requirement Value
Minimum supported client D3DKMT_CONFIGURESHAREDRESOURCE is supported beginning with the Windows 7 operating system.
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTConfigureSharedResource