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 );
```suggestion:-5+0 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 ); ```