Switch 2: IMF services: Difference between revisions

From Nintendo Switch Brew
Jump to navigation Jump to search
Created page with "These services are exclusive to Switch 2. = imf = This is "nn::imf::IClientService". {| class="wikitable" border="1" |- ! Cmd || Name |- | 0 || CreateSession |} == CreateSession == Unofficial name. Takes a PID, an input AppletResourceUserId, two input u64s and a TransferMemory handle. Returns an #ISession. == ISession == This is "nn::imf::ISession". {| class="wikitable" border="1" |- ! Cmd || N..."
 
No edit summary
 
Line 12: Line 12:


== CreateSession ==
== CreateSession ==
Unofficial name.
Takes a PID, an input [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], two input u64s and a TransferMemory handle. Returns an [[#ISession]].
Takes a PID, an input [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], two input u64s and a TransferMemory handle. Returns an [[#ISession]].


Line 23: Line 21:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || ReadMessage
|-
|-
| 4 ||  
| 4 || SetSelection
|-
|-
| 8 ||
| 8 || ReadText
|-
|-
| 9 ||  
| 9 || WriteText
|-
|-
| 10 ||  
| 10 ||  
|-
|-
| 11 ||  
| 11 || TerminateComposition
|-
|-
| 20 ||  
| 20 || EnableUserWords
|-
|-
| 21 ||  
| 21 || DisableUserWords
|-
|-
| 22 ||  
| 22 || SetUserWords
|-
|-
| 24 ||  
| 24 || EnableAdditionalDictionaries
|-
|-
| 25 ||  
| 25 || DisableAdditionalDictionaries
|-
|-
| 26 ||  
| 26 || SetAdditionalDictionaries
|-
|-
| 27 ||  
| 27 ||  
|-
|-
| 44 ||  
| 44 || PassHidStateSet
|}
|}



Latest revision as of 01:45, 14 March 2026

These services are exclusive to Switch 2.

imf

This is "nn::imf::IClientService".

Cmd Name
0 CreateSession

CreateSession

Takes a PID, an input AppletResourceUserId, two input u64s and a TransferMemory handle. Returns an #ISession.

ISession

This is "nn::imf::ISession".

Cmd Name
0 ReadMessage
4 SetSelection
8 ReadText
9 WriteText
10
11 TerminateComposition
20 EnableUserWords
21 DisableUserWords
22 SetUserWords
24 EnableAdditionalDictionaries
25 DisableAdditionalDictionaries
26 SetAdditionalDictionaries
27
44 PassHidStateSet

imf:fe