Skip to content

sco_ui_surfaces_v1.update_surface_pose

Replaces the pose and panel of one of the caller’s surfaces, checked against the kind it was registered with (the register_surface rules). Failure leaves the old pose.

sco_result (*)(sco_plugin *, uint32_t, const sco_surface_pose *)

Service index

Property Value
Symbol sco_ui_surfaces_v1.update_surface_pose
Record ID sco-ui-surfaces-v1-update-surface-pose
Service sco.ui.surfaces
Table sco_ui_surfaces_v1
Version macro SCO_UI_SURFACES_VERSION_1_0
Packed table version 65536
Since / availability size >= 24; 1.0
Complete member extent (x64 bytes) 24
Table size (x64 bytes) 40

Header source

sco_result (*update_surface_pose)(sco_plugin* self, uint32_t id, const sco_surface_pose* pose);
Replaces the pose and panel of one of the caller’s surfaces, checked against the kind it was registered with (the register_surface rules). Failure leaves the old pose.

OK; NOT_FOUND no surface of this plugin by that id; BAD_ARG invalid/released self, NULL or short pose, any field outside the rules for the kind; TOO_MANY allocation failure; UNAVAILABLE stopped service.

query_service NOT_FOUND when the host does not publish sco.ui.surfaces (it needs sco.ui started); UNAVAILABLE for an incompatible version. No game capability or renderer requirement.

Host copies the pose and panel_id on success; caller keeps pose and the string. No allocation transfer.

Any thread; registry lock held only for the copy. No callbacks.

No callbacks; desc, pose and panel_id are read during the call only.

No plugin code runs inside the service; calls from several threads are serialized by the registry lock.

No cancellation entrypoint; synchronous. The surface keeps its id and kind; unload, crash and Stop withdraw it.

Status labels are copied verbatim from the catalogue: direct is native access; typed-wrapper is wrapper-backed; restricted is a subset/adaptation; unsupported means no supported route is established. No status implies universal safety.

Language Catalogue status Source evidence / wrapper tokens
c direct include/sco_ui_surfaces.h
(*update_surface_pose)
cpp typed-wrapper include/scosdk/ui_surfaces.hpp
return table_->update_surface_pose(self_, id, &pose);
csharp unsupported docs/contracts.md
C# and Lua sco.ui.surfaces routes are unsupported.
lua unsupported docs/contracts.md
C# and Lua sco.ui.surfaces routes are unsupported.

None identified in the catalogue; this is not proof none can exist.

ABI pins prove layout, not semantic behavior or a live game session.