feat: offline GDK interfaces (XGameStreaming, XGameUi, XNetworking, XAccessibility, XUser), unnotified subscriptions in E_NOTIMPL — 277/396 #210
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!210
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/210/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@KainanP on GitHub · 2026-11-25 15:18 UTC · original
KainanP:feat/gdk-offline-interfaces→main· +1513 −41 · 26 files · 7 commits · closed without mergingChange
New version of #156, as asked in the maintainer's closing note (#156): the offline GDK interfaces come back unchanged, and the change subscriptions that AnyXboxX never notifies now return
E_NOTIMPLand are logged, instead ofS_OKwith a token.Linked issue: Refs #156
main(488a71c) without change:XGameStreamingwith no streaming client,XGameUihanded to the game's own UI callbacks, the PC's network settings and high-contrast mode (XNetworking,XAccessibility),XUserdevices (Windows' default communications audio endpoint, the all-zero controller id documented for PC).fix: change subscriptions that are never notified return E_NOTIMPL) is the rule 3 fix.XNetworkingRegisterConnectivityHintChangedandXUserRegisterForDefaultAudioEndpointUtf16Changedare wired toANYXBOXX_NOT_IMPLEMENTED:E_NOTIMPL, the trace line[runtime] méthode d'interface non écrite appelée -> E_NOTIMPLwithANYXBOXX_TRACE=1, no token written. Their unregister functions returnfalse(no registration can succeed). The queries (XNetworkingGetConnectivityHint,XUserGetDefaultAudioEndpointUtf16) still return the current value.XUserRegisterForDeviceAssociationChangedhad the same pattern (S_OK, token, callback never called; it was in the first review of #156 next to the audio endpoint), so it returnsE_NOTIMPLtoo. If you prefer it left as it was, it is one table line inuser_device_interface.cppand one test parameter to revert.ANYXBOXX_NOT_IMPLEMENTEDin the tables, the GDK runtime counter drops from 280 to 277 of 396 (README in 9 languages).docs/progress.mdanddocs/fr/avancee.md: the "Subscriptions" section now saysE_NOTIMPL+ log and cites the decision on #156.XGameStreamingRegisterConnectionStateChanged(no streaming client can ever connect) andXStoreRegisterGameLicenseChanged(already onmain; the offline license never changes).carte-avancee.svgandtraduction.svgare those ofmain, to be regenerated at merge with the package, as agreed on #156.Verification
Windows 11 26200, Python 3.12, runtime built from this branch (VS 2022 Build Tools, CMake), on top of
mainat488a71c:Each commit checked: README test count (
1100+) = collected tests rounded down; GDK counter in the README =translation.gdk_runtime_area()(241, 269, 273, 280, 280, 277).Oracle and test data
E_NOTIMPLand leave the caller's token untouched, the unregisters returnfalse; a subprocess withANYXBOXX_TRACE=1calls each registration and checks theE_NOTIMPLline on stderr. The five tests fail with the runtime built before commit 6.Checklist
E_NOTIMPL), never a fake success.test_readme_sync.pychecks it).Made with AI assistance (Claude Code, Claude Opus 5.5); tests run on the adapters above.
🤖 Generated with Claude Code
@LooperSalty on GitHub · 2026-11-25 15:57 UTC · original
Closed by the maintainer during PR triage: once merged with current
main, CI fails ontests/test_readme_sync.py::test_claimed_count_matches_suite(the suite reaches 1207 tests, so the README line must become1200+ automated testsin all 9 READMEs). The queue is being cleared now and we no longer push fix-ups to contributor branches. You are welcome to reopen it once rebased onmainwith the README count updated in the 9 READMEs. Thanks for the work.@KainanP on GitHub · 2026-11-25 16:18 UTC · original · edited 2026-11-25 16:20 UTC
Rebased onto
mainwith the README line at1200+(the suite now collects 1218 tests; 1201 passed, 17 skipped on the RTX 4060 and WARP with the runtime rebuilt; ruff clean). GitHub does not allow reopening this PR after the force-push, so it continues in #217.AI use: Claude Code (Claude Opus 5.5).
Pull request closed