XPackage: wire XPackageUnregisterInstallationProgressChanged returning bool #1367

Closed
github-bot wants to merge 1 commit from gh-pr/1367/head into gh-pr/1367/base
Owner

@⁠ashrafsdrop on GitHub · 2026-11-24 17:36 UTC · original
ashrafsdrop:xpackage/unregister-progress → main · +39 −1 · 1 files · 1 commits · closed without merging

Summary
Resolves VIC-BT-034 from #1249:

  • Wires slot 10 (0x50) in xpackage.rs to unregister_progress (XPackageUnregisterInstallationProgressChanged).
  • Fixes signature to return bool (true) instead of missing::<10> (HRESULT), conforming to Microsoft GDK specification where unregistering a progress token returns a boolean.
  • Adds unit test in crates/victory-hle/src/modules/xpackage.rs testing registration at slot 0x48 and unregistration at slot 0x50.

Verification

  • cargo test -p victory-hle: 94 tests passed, 0 failed.
  • cargo clippy -p victory-hle --all-targets --all-features -- -D warnings: clean, 0 warnings.
  • cargo run -p xtask -- policy: 154 files ok.
**@⁠ashrafsdrop** on GitHub · 2026-11-24 17:36 UTC · [original](https://github.com/Marvisak/VIctory/pull/1367) `ashrafsdrop:xpackage/unregister-progress` → `main` · +39 −1 · 1 files · 1 commits · closed without merging Summary Resolves VIC-BT-034 from #1249: - Wires slot 10 (0x50) in `xpackage.rs` to `unregister_progress` (`XPackageUnregisterInstallationProgressChanged`). - Fixes signature to return `bool (true)` instead of `missing::<10>` (`HRESULT`), conforming to Microsoft GDK specification where unregistering a progress token returns a boolean. - Adds unit test in `crates/victory-hle/src/modules/xpackage.rs` testing registration at slot 0x48 and unregistration at slot 0x50. Verification - `cargo test -p victory-hle`: 94 tests passed, 0 failed. - `cargo clippy -p victory-hle --all-targets --all-features -- -D warnings`: clean, 0 warnings. - `cargo run -p xtask -- policy`: 154 files ok.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:29:01 +00:00
github-bot closed this pull request 2026-11-26 04:29:01 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:38 UTC · original

Automated triage for the maintainers. Closing because another open pull request covers the same change.

See #1274. Same slot 0x50 change as #1274.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:38 UTC · [original](https://github.com/Marvisak/VIctory/pull/1367#issuecomment-7148727338) Automated triage for the maintainers. Closing because another open pull request covers the same change. See #1274. Same slot 0x50 change as #1274. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1367
No description provided.