Display services: Difference between revisions

symbols
Line 108: Line 108:


== ListDisplays ==
== ListDisplays ==
Takes a type-0x6 output buffer containing the array of DisplayInfo output entries. Returns an output u64.
Takes a type-0x6 output buffer containing the array of [[#DisplayInfo]] output entries. Returns an output u64.


== OpenDisplay ==
== OpenDisplay ==
Takes 0x40-byte of input, this is a NUL-terminated string. Returns an output u64, the Display-handle.
Takes a [[#DisplayName]] as input. Returns an output u64, the Display-handle.


To open the default display, input string "Default" can be used.
To open the default display, input string "Default" can be used.
Line 262: Line 262:
=DisplayInfo=
=DisplayInfo=
This is a 0x60-byte structure.
This is a 0x60-byte structure.
=DisplayName=
This is a 0x40-byte block: a NUL-terminated string.


[[Category:Services]]
[[Category:Services]]