feat: offline GDK interfaces (XGameStreaming, XGameUi, XNetworking, XAccessibility, XUser), unnotified subscriptions in E_NOTIMPL — 277/396 #210
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/210"
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?
Imported from LooperSalty/AnyXboxX. Originally posted by KainanP on 2026-11-25T15:18:33Z.
Change
New version of #156, as asked in the maintainer's closing note (https://github.com/LooperSalty/AnyXboxX/pull/156#issuecomment-7166165861): 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
Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-25T15:57:32Z.
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.Imported from LooperSalty/AnyXboxX. Originally posted by KainanP on 2026-11-25T16:18:46Z.
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