D3DKMTSharedPrimaryUnLockNotification function
The D3DKMTSharedPrimaryUnLockNotification function notifies the operating system that a shared primary surface was unlocked.
Syntax
NTSTATUS D3DKMTSharedPrimaryUnLockNotification(
CONST *D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION
);
Parameters
D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION
TBD
Return Value
D3DKMTSharedPrimaryUnLockNotification returns one of the following values:
Return code | Description |
---|---|
|
Notification about unlocking a shared primary surface was successfully performed. |
|
Parameters were validated and determined to be incorrect. |
This function might also return other NTSTATUS values.
Remarks
The OpenGL ICD calls the D3DKMTSharedPrimaryUnLockNotification function to inform the operating system that an application just unlocked the GDI shared primary surface that exists on the graphics adapter and video present source that the AdapterLuid and VidPnSourceId members of the D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION structure specify. The OpenGL ICD should call D3DKMTSharedPrimaryUnLockNotification after it calls the D3DKMTUnlock function to unlock the GDI shared primary surface.
Requirements
Windows version | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | d3dkmthk.h (include D3dkmthk.h) |
Library | Gdi32.lib |
DLL | Gdi32.dll |