Re: [PATCH v17 0/4] MR8478: cfgmgr32: Device query API part 2: Implement object properties and initial device enumeration in DevCreateObjectQuery
21 Jul
2025
21 Jul
'25
7:46 p.m.
Yuxuan Shui (@yshui) commented about dlls/cfgmgr32/main.c:
+ struct device_query_context *ctx = data; + HRESULT hr = S_OK; + ULONG i;
- for (i = 0; SUCCEEDED( hr ); i++) + action_data.Action = DevQueryResultAdd; + action_data.Data.DeviceObject = obj; + ctx->callback( (HDEVQUERY)ctx, ctx->user_data, &action_data ); + + EnterCriticalSection( &ctx->cs ); + if (ctx->state == DevQueryStateClosed) + hr = E_CHANGED_STATE; + LeaveCriticalSection( &ctx->cs ); + + for (i = 0; i < obj.cPropertyCount; i++) + free( props->Buffer ); oops
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8478#note_110551
152
Age (days ago)
152
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yuxuan Shui (@yshui)