Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The D3DKMTCreateSynchronizationObject2 function creates a kernel-mode synchronization object.
Syntax
NTSTATUS D3DKMTCreateSynchronizationObject2(
  D3DKMT_CREATESYNCHRONIZATIONOBJECT2 *unnamedParam1
);
Parameters
unnamedParam1
pData [in/out] is a pointer to a D3DKMT_CREATESYNCHRONIZATIONOBJECT2 structure that describes the synchronization object to create.
Return value
D3DKMTCreateSynchronizationObject2 returns an NTSTATUS value such as one of the following:
| Return code | Description | 
|---|---|
| STATUS_SUCCESS | The kernel-mode synchronization object was successfully created. | 
| STATUS_DEVICE_REMOVED | The graphics adapter was stopped or the display device was reset. | 
| STATUS_INVALID_PARAMETER | Parameters were validated and determined to be incorrect. | 
| STATUS_NO_MEMORY | D3DKMTCreateSynchronizationObject2 couldn't complete because of insufficient memory. | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 7 | 
| Target Platform | Universal | 
| Header | d3dkmthk.h (include D3dkmthk.h) | 
| Library | Gdi32.lib | 
| DLL | Gdi32.dll |