feat: offline GDK interfaces (XGameStreaming, XGameUi, XNetworking, XAccessibility, XUser), unnotified subscriptions in E_NOTIMPL — 277/396 #217
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!217
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/217/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 16:20 UTC · original
KainanP:feat/gdk-offline-interfaces→main· +1522 −50 · 26 files · 7 commits · closed without mergingSupersedes #210 (closed during triage because the README count needed
1200+after rebasing; GitHub can't reopen it after the force-push). Same commits rebased onto currentmain, plus one commit setting the README line to1200+in all 9 READMEs (the suite collects 1218 tests).Change
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 18:38 UTC · original
This PR now conflicts with main after the other merges. Please rebase on main and reopen (or open a fresh PR). Thanks!
@KainanP on GitHub · 2026-11-25 19:49 UTC · original
Superseded by #231: rebased onto main
4f2cf5cas asked (the README rows were the only conflict); full suite 1338/1338/1336 passed on RTX/WARP/Intel.AI use: Claude Code (Claude Opus 5.5).
Pull request closed