Repository navigation
Conversation
|
Rebased onto 70564ae; only a formatting hunk in Validation: |
f32980a to
29dd901
Compare
The shared QueryInterface helper now backs slot 0 of the display, speech, storage, xgame, xgameui, xnetworking, xpackage, xstore and xsystem COM objects as well, so every runtime object answers IID_IUnknown with an AddRef'd identity and clears the output pointer for unknown IIDs. Add a test that walks every runtime interface and checks both paths. Validation: - cargo test -p victory-hle --locked -- --test-threads=1 - cargo clippy -p victory-hle --all-targets --all-features --locked -- -D warnings - cargo xtask policy - rustfmt --edition 2024 --check on changed files
29dd901 to
b380544
Compare
|
Automated triage for the maintainers. Needs work. A shared Generated by Claude Code |
|
Closing this one: as the triage says, the helper as written answers only The trigger is also still unobserved: the note in If a trace turns up a title calling |
Addresses
VIC-BT-032from audit #1242.Summary
QueryInterfacefor the HLE COM objects in XAsync, XUser, XGameSave, DirectStorage, and the remaining runtime areas (display, speech, storage, xgame, xgameui, xnetworking, xpackage, xstore, xsystem).IUnknownIID, call the object's actualAddRefslot, and returnE_NOINTERFACEwith a cleared output pointer for unsupported IIDs.E_POINTERfor null required pointers.Validation
cargo test -p victory-hle --locked -- --test-threads=1— passed (97 unit tests and 1 integration test).cargo clippy -p victory-hle --all-targets --all-features --locked -- -D warnings— passed.cargo xtask policy— passed (154 files).rustfmt --edition 2024 --checkon changed files — passed.This implements IUnknown identity behavior; object-specific interface IIDs remain unsupported unless separately implemented.