Skip to content

Commit c96be21

Browse files
authored
Try changing the ICustomQueryInterface implementation to always return NotHandled instead of Failed to defer back to the ComWrappers impl. (#111978)
1 parent 7afd807 commit c96be21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/Interop/COM/ComWrappers/API/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ CustomQueryInterfaceResult ICustomQueryInterface.GetInterface(ref Guid iid, out
11211121
}
11221122
}
11231123

1124-
return CustomQueryInterfaceResult.Failed;
1124+
return CustomQueryInterfaceResult.NotHandled;
11251125
}
11261126
}
11271127
}

0 commit comments

Comments
 (0)