D3DKMT_CONFIGURESHAREDRESOURCE structure

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

Syntax


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

Members

hDevice

[in] A handle to the device that the resource is associated with.

hResource

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

IsDwm

[in] 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.

hProcess

[in] A handle to the process for the non-DWM situation.

AllowAccess

[in] 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

Version

D3DKMT_CONFIGURESHAREDRESOURCE is supported beginning with the Windows 7 operating system.

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTConfigureSharedResource

 

 

Send comments about this topic to Microsoft

Show: