Skip to content

Commit

Permalink
fixup! windows.gaming.input: Query IGameController interface in TryGe…
Browse files Browse the repository at this point in the history
…tFactoryControllerFromGameController.

CW-Bug-Id: #22198
  • Loading branch information
rbernon committed May 23, 2023
1 parent df99eb5 commit f4e4d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/dinput/tests/hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1184,13 +1184,13 @@ static void test_windows_gaming_input(void)

IGameController_Release( tmp_game_controller );

next:
hr = IRawGameControllerStatics_FromGameController( statics, custom_controller.IGameController_outer, &tmp_raw_controller );
ok( hr == S_OK, "FromGameController returned %#lx\n", hr );
todo_wine
ok( tmp_raw_controller == raw_controller, "got controller %p\n", tmp_raw_controller );
if (tmp_raw_controller) IRawGameController_Release( tmp_raw_controller );

next:
IGameController_Release( game_controller );
IRawGameController_Release( raw_controller );
SetEvent( stop_event );
Expand Down

0 comments on commit f4e4d70

Please sign in to comment.