// d3dkmthk.h
typedef struct _D3DKMT_CONFIGURESHAREDRESOURCE {
[in] D3DKMT_HANDLE hDevice;
[in] D3DKMT_HANDLE hResource;
[in] BOOLEAN IsDwm;
[in] HANDLE hProcess;
[in] BOOLEAN AllowAccess;
} D3DKMT_CONFIGURESHAREDRESOURCE;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_CONFIGURESHAREDRESOURCE structure describes parameters that the D3DKMTConfigureSharedResource function uses to configure a shared resource.
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.