9 Feb
2024
9 Feb
'24
10:01 a.m.
Jinoh Kang (@iamahuman) commented about dlls/win32u/winstation.c:
#define DESKTOP_ALL_ACCESS 0x01ff
+static volatile void *map_object_shared_memory( HANDLE object, SIZE_T size ) +{ + static const WCHAR object_mappingW[] = + { + '_','_','w','i','n','e','_','m','a','p','p','i','n','g',0 + }; + UNICODE_STRING section_str = RTL_CONSTANT_STRING( object_mappingW ); + OBJECT_ATTRIBUTES attr; + HANDLE handle; + UINT status;
```suggestion:-0+0please unsigned int status; // move me up :3 ``` For consistency with virtual_map_user_shared_data et al.. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3103#note_60688