19 Feb
2023
19 Feb
'23
12:14 a.m.
Etaash Mathamsetty (@etaash.mathamsetty) commented about dlls/cfgmgr32/main.c:
+ +#include "wine/debug.h" +#include "cfgmgr32.h" + +WINE_DEFAULT_DEBUG_CHANNEL(cfgmgr32); + +/*********************************************************************** + * CM_MapCrToWin32Err (cfgmgr32.@) + */ +CMAPI DWORD WINAPI CM_MapCrToWin32Err( CONFIGRET code, DWORD default_error ) +{ + TRACE( "code: %ld, default_error: %ld\n", code, default_error ); + + switch (code) + { + case CR_SUCCESS: return ERROR_SUCCESS; nitpick: maybe indent this? (and the rest of the switch case)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2231#note_24763