Jinoh Kang (@iamahuman) commented about dlls/win32u/winstation.c:
- return TRUE;
+}
+void object_lock_release( struct object_lock *lock ) +{
- shared_session_release( lock->session );
- memset( lock, 0, sizeof(*lock) );
- lock->id = -1; /* force object to be refreshed when retrying lock */
+}
+enum object_type +{
- OBJECT_TYPE_DESKTOP = 1,
+};
+static UINT get_thread_session_object_index( UINT tid, enum object_type type, UINT64 *id )
(nit) `get index` is misleading since it returns the id as well.
```suggestion:-0+0 static UINT get_thread_session_object_location( UINT tid, enum object_type type, UINT64 *id ) ```
```suggestion:-0+0 static UINT get_thread_session_object_loc( UINT tid, enum object_type type, UINT64 *id ) ```
```suggestion:-0+0 static UINT get_thread_session_object_index_and_id( UINT tid, enum object_type type, UINT64 *id ) ```