diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 17:08:37 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 17:08:37 -0500 |
| commit | bca17fcf82c92faef3003a282a37f5f65dc3ff7b (patch) | |
| tree | 0ea61c85f78fff4316872995bf45bcffb2f64866 /docs | |
| parent | d92b805c3844a7430948d8f06e007888154bf281 (diff) | |
| parent | b170687d2501efcf6bccf60988f308eab43464b3 (diff) | |
Merge PR #9590
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/runtime_imports.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/runtime_imports.md b/docs/runtime_imports.md index 934dae376..e0e5f6dfc 100644 --- a/docs/runtime_imports.md +++ b/docs/runtime_imports.md | |||
| @@ -458,8 +458,14 @@ on the executable, the rest is not: | |||
| 458 | - **HDR:** `XDisplayTryEnableHdrMode` answers Disabled, because the host output is SDR. With `LEONIDA_HDR=1` it | 458 | - **HDR:** `XDisplayTryEnableHdrMode` answers Disabled, because the host output is SDR. With `LEONIDA_HDR=1` it |
| 459 | answers Enabled with the documented default tone-map luminances (0.01, 1000, 1000 nits). | 459 | answers Enabled with the documented default tone-map luminances (0.01, 1000, 1000 nits). |
| 460 | - **Devices:** every device belongs to the offline user (`XUserFindForDevice` hands out an `XUserHandle` the title | 460 | - **Devices:** every device belongs to the offline user (`XUserFindForDevice` hands out an `XUserHandle` the title |
| 461 | closes). Association and audio-endpoint registrations hand out tokens that never fire. The user has no audio | 461 | closes). `XUserRegisterForDeviceAssociationChanged` (slot 4) and |
| 462 | endpoint of its own (`ERROR_NOT_FOUND`). Finding a controller shows no UI and gives an all-zero device id, as | 462 | `XUserRegisterForDefaultAudioEndpointUtf16Changed` (7) keep each registration (its queue, duplicated, its context |
| 463 | and callback) under a token unique across both kinds and never 0; a null callback or token is `E_INVALIDARG`, and | ||
| 464 | queue and context are optional. The matching unregister (5, 8) removes it at once, with or without `wait`, and | ||
| 465 | returns true for every token, as `XUserUnregisterForChangeEvent` does: a token already removed, never handed out or | ||
| 466 | of the other kind changes nothing. Offline the device association and the default audio endpoint never change, so | ||
| 467 | no event is raised and no callback is ever queued or called. The user has no audio endpoint of its own | ||
| 468 | (`ERROR_NOT_FOUND`). Finding a controller shows no UI and gives an all-zero device id, as | ||
| 463 | documented for desktop. `APP_LOCAL_DEVICE_ID` is taken to be 32 bytes; no caller in the executable confirms it. | 469 | documented for desktop. `APP_LOCAL_DEVICE_ID` is taken to be 32 bytes; no caller in the executable confirms it. |
| 464 | 470 | ||
| 465 | `xgameruntime_offline_test` drives the five classes; `xgameruntime_offline_hdr` runs it again with | 471 | `xgameruntime_offline_test` drives the five classes; `xgameruntime_offline_hdr` runs it again with |