NS services: Difference between revisions
Line 1,070: | Line 1,070: | ||
==== ListApplicationTitle ==== | ==== ListApplicationTitle ==== | ||
Takes an input TransferMemory handle, a type-0x5 input buffer containing an array of | Takes an input TransferMemory handle, a type-0x5 input buffer containing an array of u64 [[NCM_services#ApplicationId|ApplicationIds]], an u8, an u64 size, returns an output Event handle and an [[#IAsyncValue]]. | ||
[[qlaunch]] uses value 0x1 for the u8. | [[qlaunch]] uses value 0x1 for the u8. | ||
The user-process creates the TransferMemory with permissions=R--. | |||
The data available with [[#IAsyncValue]] Get is a s32 for the offset within the TransferMemory where the output data is located, GetSize returns the total byte-size of the data located here. The data located here is the [[NACP_Format|NACP]] title-entry for each specified ApplicationId. | |||
==== ListApplicationIcon ==== | ==== ListApplicationIcon ==== | ||
Takes an input TransferMemory handle, a type-0x5 input buffer containing an array of | Takes an input TransferMemory handle, a type-0x5 input buffer containing an array of u64 [[NCM_services#ApplicationId|ApplicationIds]], an u8, an u64 size, returns an output Event handle and an [[#IAsyncValue]]. | ||
The user-process creates the TransferMemory with permissions=R--. | |||
The data available with [[#IAsyncValue]] Get is a s32 for the offset within the TransferMemory where the output data is located, GetSize returns the total byte-size of the data located here. This data is: an u64 for total entries, an array of u64s for each icon size, then the icon JPEGs for the specified ApplicationIds. | |||
==== RequestCheckGameCardRegistration ==== | ==== RequestCheckGameCardRegistration ==== |