Display services: Difference between revisions

No edit summary
Line 130: Line 130:


== OpenLayer ==
== OpenLayer ==
Takes a PID-descriptor, an type-0x6 buffer, a [[#DisplayName]], and two u64s(last u64 is "[[AM_services|nn::applet::AppletResourceUserId]]"). Returns an output u64.
Takes a PID-descriptor, an type-0x6 buffer, a [[#DisplayName]], and two u64s(last u64 is [[AM_services|AppletResourceUserId]]). Returns an output u64.


== CloseLayer ==
== CloseLayer ==
Line 145: Line 145:


== GetIndirectLayerImageMap ==
== GetIndirectLayerImageMap ==
Takes a PID-descriptor, an type-0x46 buffer, and four u64s(last u64 is "[[AM_services|nn::applet::AppletResourceUserId]]"). Returns two output u64s.
Takes a PID-descriptor, an type-0x46 buffer, and four u64s(last u64 is [[AM_services|AppletResourceUserId]]). Returns two output u64s.


== GetIndirectLayerImageCropMap ==
== GetIndirectLayerImageCropMap ==
Takes a PID-descriptor, an type-0x46 buffer, four floats, four u64s(last u64 is "[[AM_services|nn::applet::AppletResourceUserId]]"). Returns two output u64s. The floats are stored immediately after each other(32bits).
Takes a PID-descriptor, an type-0x46 buffer, four floats, four u64s(last u64 is [[AM_services|AppletResourceUserId]]). Returns two output u64s. The floats are stored immediately after each other(32bits).


== GetIndirectLayerImageRequiredMemoryInfo ==
== GetIndirectLayerImageRequiredMemoryInfo ==