Rémi Bernon (@rbernon) commented about dlls/cfgmgr32/tests/cfgmgr32.c:
+ + ret = CM_Register_Notification( NULL, NULL, NULL, NULL ); + todo_wine ok( ret == CR_FAILURE, "Expected 0x13, got %#lx.\n", ret ); + + ret = CM_Register_Notification( NULL, NULL, NULL, ¬ify ); + todo_wine ok( ret == CR_INVALID_DATA, "Expected 0x1f, got %#lx.\n", ret ); + + ret = CM_Register_Notification( &filter, NULL, NULL, ¬ify ); + todo_wine ok( ret == CR_INVALID_DATA, "Expected 0x1f, got %#lx.\n", ret ); + + filter.cbSize +=1; + ret = CM_Register_Notification( &filter, NULL, notify_callback, ¬ify ); + todo_wine ok( ret == CR_INVALID_DATA, "Expected 0x1f, got %#lx.\n", ret ); + + filter.cbSize -=1; + ret = CM_Register_Notification( &filter, NULL, notify_callback, ¬ify );
filter.cbSize += 1;
ret = CM_Register_Notification( &filter, NULL, notify_callback, ¬ify );
todo_wine ok( ret == CR_INVALID_DATA, "Expected 0x1f, got %#lx.\n", ret );
filter.cbSize -= 1;
ret = CM_Register_Notification( &filter, NULL, notify_callback, ¬ify );
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7559#note_98074