Line 21: |
Line 21: |
| |- | | |- |
| | 400 || CreateSelfLibraryAppletCreatorForDevelop || Returns an [[#ILibraryAppletCreator]]. | | | 400 || CreateSelfLibraryAppletCreatorForDevelop || Returns an [[#ILibraryAppletCreator]]. |
− | |-
| |
| |} | | |} |
| | | |
Line 129: |
Line 128: |
| | 14 || [2.0.0+] ShouldSleepOnBoot | | | 14 || [2.0.0+] ShouldSleepOnBoot |
| |- | | |- |
| + | | 15 || [4.0.0+] GetHdcpAuthenticationFailedEvent |
| |} | | |} |
| | | |
Line 254: |
Line 254: |
| |- | | |- |
| | 17 || [2.0.0+] GetCallerAppletIdentityInfoStack || | | | 17 || [2.0.0+] GetCallerAppletIdentityInfoStack || |
| + | |- |
| + | | 18 || [4.0.0+] GetNextReturnDestinationAppletIdentityInfo || |
| + | |- |
| + | | 19 || [4.0.0+] GetDesirableKeyboardLayout || |
| |- | | |- |
| | 20 || PopExtraStorage || Returns an [[#IStorage]]. | | | 20 || PopExtraStorage || Returns an [[#IStorage]]. |
Line 267: |
Line 271: |
| | 50 || [2.0.0+] ReportVisibleError || | | | 50 || [2.0.0+] ReportVisibleError || |
| |- | | |- |
− | | 60 || [4.0.0+] [[#GetMainAppletApplicationDesiredLanguage]] || | + | | 51 || [4.0.0+] ReportVisibleErrorWithErrorContext || |
| + | |- |
| + | | 60 || [4.0.0+] [[#GetMainAppletApplicationDesiredLanguage]] || |
| + | |- |
| + | | 100 || [4.0.0+] CreateApplicationAndPushAndRequestToLaunch || |
| |} | | |} |
| | | |
− | ====ExitProcessAndReturn==== | + | ==== ExitProcessAndReturn ==== |
| No input/output. | | No input/output. |
| | | |
| Exits the LibraryApplet and returns to running the title which launched this LibraryApplet ([[qlaunch]] for example). | | Exits the LibraryApplet and returns to running the title which launched this LibraryApplet ([[qlaunch]] for example). |
| | | |
− | ====GetLibraryAppletInfo==== | + | ==== GetLibraryAppletInfo ==== |
| No input. Returns an u64 LibraryAppletInfo: +0 u32 is [[#AppletId]], +4 u32 is [[#LibraryAppletMode]]. | | No input. Returns an u64 LibraryAppletInfo: +0 u32 is [[#AppletId]], +4 u32 is [[#LibraryAppletMode]]. |
| | | |
− | ====GetMainAppletApplicationDesiredLanguage==== | + | ==== GetMainAppletApplicationDesiredLanguage ==== |
| No input, returns an output [[Settings_services#LanguageCode|LanguageCode]]. | | No input, returns an output [[Settings_services#LanguageCode|LanguageCode]]. |
| | | |
Line 303: |
Line 311: |
| |- | | |- |
| | 1000 || GetDebugFunctions || Returns an [[#IDebugFunctions]]. | | | 1000 || GetDebugFunctions || Returns an [[#IDebugFunctions]]. |
− | |-
| |
| |} | | |} |
| | | |
Line 348: |
Line 355: |
| |- | | |- |
| | 1000 || GetDebugFunctions || Returns an [[#IDebugFunctions]]. | | | 1000 || GetDebugFunctions || Returns an [[#IDebugFunctions]]. |
− | |-
| |
| |} | | |} |
| | | |
Line 361: |
Line 367: |
| |- | | |- |
| | 11 || [2.0.0+] CreateApplicationAndPushAndRequestToStartForQuest || Takes an [[#IStorage]]. | | | 11 || [2.0.0+] CreateApplicationAndPushAndRequestToStartForQuest || Takes an [[#IStorage]]. |
| + | |- |
| + | | 12 || [4.0.0+] CreateApplicationAndRequestToStart || |
| + | |- |
| + | | 13 || [4.0.0+] CreateApplicationAndRequestToStartForQuest || |
| |- | | |- |
| | 20 || EnsureSaveData || | | | 20 || EnsureSaveData || |
Line 395: |
Line 405: |
| |- | | |- |
| | 67 || [3.0.0+] [[#SetGamePlayRecordingState]] || | | | 67 || [3.0.0+] [[#SetGamePlayRecordingState]] || |
| + | |- |
| + | | 68 || [4.0.0+] RequestFlushGamePlayingMovieForDebug || |
| |- | | |- |
| | 70 || [3.0.0+] RequestToShutdown || | | | 70 || [3.0.0+] RequestToShutdown || |
| |- | | |- |
| | 71 || [3.0.0+] RequestToReboot || | | | 71 || [3.0.0+] RequestToReboot || |
| + | |- |
| + | | 80 || [4.0.0+] ExitAndRequestToShowThanksMessage || |
| + | |- |
| + | | 90 || [4.0.0+] EnableApplicationCrashReport || |
| + | |- |
| + | | 100 || [5.0.0+] InitializeApplicationCopyrightFrameBuffer || |
| + | |- |
| + | | 101 || [5.0.0+] SetApplicationCopyrightImage || |
| + | |- |
| + | | 102 || [5.0.0+] SetApplicationCopyrightVisibility || |
| + | |- |
| + | | 110 || [5.0.0+] QueryApplicationPlayStatistics || |
| + | |- |
| + | | 120 || [5.0.0+] ExecuteProgram || |
| + | |- |
| + | | 121 || [5.0.0+] ClearUserChannel || |
| + | |- |
| + | | 122 || [5.0.0+] UnpopToUserChannel || |
| + | |- |
| + | | 500 || [5.0.0+] StartContinuousRecordingFlushForDebug || |
| + | |- |
| + | | 1000 || [5.0.0+] CreateMovieMaker || |
| + | |- |
| + | | 1001 || [5.0.0+] PrepareForJit || |
| |} | | |} |
| | | |
Line 441: |
Line 477: |
| |- | | |- |
| | 12 || [2.0.0+] CreateHandleStorage || Returns an [[#IStorage]]. | | | 12 || [2.0.0+] CreateHandleStorage || Returns an [[#IStorage]]. |
− | |-
| |
| |} | | |} |
| | | |
Line 530: |
Line 565: |
| |- | | |- |
| | 51 || [3.0.0+] [[#SetVrModeEnabled]] || | | | 51 || [3.0.0+] [[#SetVrModeEnabled]] || |
| + | |- |
| + | | 52 || [4.0.0+] SwitchLcdBacklight || |
| |- | | |- |
| | 55 || [3.0.0+] IsInControllerFirmwareUpdateSection || | | | 55 || [3.0.0+] IsInControllerFirmwareUpdateSection || |
Line 536: |
Line 573: |
| |- | | |- |
| | 61 || [3.0.0+] GetDefaultDisplayResolutionChangeEvent || | | | 61 || [3.0.0+] GetDefaultDisplayResolutionChangeEvent || |
| + | |- |
| + | | 62 || [4.0.0+] GetHdcpAuthenticationState || |
| + | |- |
| + | | 63 || [4.0.0+] GetHdcpAuthenticationStateChangeEvent || |
| |} | | |} |
| | | |
Line 599: |
Line 640: |
| |- | | |- |
| | 19 || [3.0.0+] [[#SetScreenShotImageOrientation]] | | | 19 || [3.0.0+] [[#SetScreenShotImageOrientation]] |
| + | |- |
| + | | 20 || [4.0.0+] SetDesirableKeyboardLayout |
| |- | | |- |
| | 40 || [[#CreateManagedDisplayLayer]] | | | 40 || [[#CreateManagedDisplayLayer]] |
| + | |- |
| + | | 41 || [4.0.0+] IsSystemBufferSharingEnabled |
| + | |- |
| + | | 42 || [4.0.0+] GetSystemSharedLayerHandle |
| |- | | |- |
| | 50 || SetHandlesRequestToDisplay | | | 50 || SetHandlesRequestToDisplay |
Line 621: |
Line 668: |
| |- | | |- |
| | 67 || [3.0.0+] IsIlluminanceAvailable | | | 67 || [3.0.0+] IsIlluminanceAvailable |
| + | |- |
| + | | 68 || [4.0.0+] SetAutoSleepDisabled |
| + | |- |
| + | | 69 || [4.0.0+] IsAutoSleepDisabled |
| + | |- |
| + | | 70 || [5.0.0+] ReportMultimediaError |
| + | |- |
| + | | 80 || [5.0.0+] SetWirelessPriorityMode |
| |} | | |} |
| | | |
− | ===Exit=== | + | === Exit === |
| No input/output. | | No input/output. |
| | | |
− | ===LockExit=== | + | === LockExit === |
| No input/output. | | No input/output. |
| | | |
− | ===UnlockExit=== | + | === UnlockExit === |
| No input/output. | | No input/output. |
| | | |
− | ===EnterFatalSection=== | + | === EnterFatalSection === |
| No input/output. | | No input/output. |
| | | |
− | ===LeaveFatalSection=== | + | === LeaveFatalSection === |
| No input/output. | | No input/output. |
| | | |
− | ===SetScreenShotPermission=== | + | === SetScreenShotPermission === |
| Takes an input s32. No output. | | Takes an input s32. No output. |
| | | |
| Controls whether screenshot-capture is allowed. 0 = disable, 1 = enable, 2 = unknown. | | Controls whether screenshot-capture is allowed. 0 = disable, 1 = enable, 2 = unknown. |
| | | |
− | ===SetOperationModeChangedNotification=== | + | === SetOperationModeChangedNotification === |
| Takes an input u8 bool flag. No output. | | Takes an input u8 bool flag. No output. |
| | | |
− | ===SetPerformanceModeChangedNotification=== | + | === SetPerformanceModeChangedNotification === |
| Takes an input u8 bool flag. No output. | | Takes an input u8 bool flag. No output. |
| | | |
− | ===SetFocusHandlingMode=== | + | === SetFocusHandlingMode === |
| Takes 3 input u8s with each field located immediately after the previous u8, these are bool flags. No output. | | Takes 3 input u8s with each field located immediately after the previous u8, these are bool flags. No output. |
| | | |
− | ===SetScreenShotAppletIdentityInfo=== | + | === SetScreenShotAppletIdentityInfo === |
| Takes an input 0x10-byte struct AppletIdentityInfo. No output. | | Takes an input 0x10-byte struct AppletIdentityInfo. No output. |
| | | |
− | ===SetOutOfFocusSuspendingEnabled=== | + | === SetOutOfFocusSuspendingEnabled === |
| Takes an input u8(bool flag). No output. | | Takes an input u8(bool flag). No output. |
| | | |
− | ===SetScreenShotImageOrientation=== | + | === SetScreenShotImageOrientation === |
| Takes an input s32. No output. | | Takes an input s32. No output. |
| | | |
− | ===CreateManagedDisplayLayer=== | + | === CreateManagedDisplayLayer === |
| Returns an output u64 LayerId which is then used by the user-process with [[Display_services#OpenLayer]]. | | Returns an output u64 LayerId which is then used by the user-process with [[Display_services#OpenLayer]]. |
| | | |
Line 746: |
Line 801: |
| |- | | |- |
| | 21 || [2.0.0+] ClearAppletTransitionBuffer | | | 21 || [2.0.0+] ClearAppletTransitionBuffer |
| + | |- |
| + | | 22 || [4.0.0+] AcquireLastApplicationCaptureSharedBuffer |
| + | |- |
| + | | 23 || [4.0.0+] ReleaseLastApplicationCaptureSharedBuffer |
| + | |- |
| + | | 24 || [4.0.0+] AcquireLastForegroundCaptureSharedBuffer |
| + | |- |
| + | | 25 || [4.0.0+] ReleaseLastForegroundCaptureSharedBuffer |
| + | |- |
| + | | 26 || [4.0.0+] AcquireCallerAppletCaptureSharedBuffer |
| + | |- |
| + | | 27 || [4.0.0+] ReleaseCallerAppletCaptureSharedBuffer |
| |} | | |} |
| | | |
Line 784: |
Line 851: |
| |- | | |- |
| | 40 || ReserveToStartAndWaitAndUnwindThis || Returns an [[#ILibraryAppletAccessor]]. | | | 40 || ReserveToStartAndWaitAndUnwindThis || Returns an [[#ILibraryAppletAccessor]]. |
| + | |- |
| + | | 41 || [4.0.0+] ReserveToStartAndWait || |
| |} | | |} |
| | | |
− | ===GetLaunchReason=== | + | === GetLaunchReason === |
| No input. Returns an u32 AppletProcessLaunchReason. | | No input. Returns an u32 AppletProcessLaunchReason. |
| | | |
Line 847: |
Line 916: |
| |- | | |- |
| | 0 || [[#OpenApplicationProxy]] || | | | 0 || [[#OpenApplicationProxy]] || |
− | |-
| |
| |} | | |} |
| | | |
Line 868: |
Line 936: |
| | 0 || GetAutoPowerDownEvent | | | 0 || GetAutoPowerDownEvent |
| |- | | |- |
− | | 1 || | + | | 1 || [1.0.0-3.0.2] |
| |- | | |- |
− | | 2 || | + | | 2 || [1.0.0-3.0.2] |
| |- | | |- |
| | 3 || | | | 3 || |
Line 908: |
Line 976: |
| |- | | |- |
| | 9 || [2.0.0+] | | | 9 || [2.0.0+] |
| + | |- |
| + | | 10 || [3.0.0+] |
| + | |- |
| + | | 11 || [3.0.0+] |
| + | |- |
| + | | 12 || [3.0.0+] |
| + | |- |
| + | | 13 || [3.0.0+] |
| + | |- |
| + | | 14 || [3.0.0+] |
| + | |- |
| + | | 15 || [4.0.0+] |
| + | |- |
| + | | 16 || [4.0.0+] |
| + | |- |
| + | | 17 || [4.0.0+] |
| + | |- |
| + | | 18 || [4.0.0+] |
| + | |- |
| + | | 19 || [4.0.0+] |
| + | |- |
| + | | 20 || [4.0.0+] |
| + | |- |
| + | | 21 || [4.0.0+] |
| + | |- |
| + | | 22 || [4.0.0+] |
| + | |- |
| + | | 23 || [4.0.0+] |
| |} | | |} |
| | | |
Line 939: |
Line 1,035: |
| | 10 || | | | 10 || |
| |- | | |- |
− | | 11 || | + | | 11 || [1.0.0-3.0.2] |
| |} | | |} |
| | | |
Line 1,069: |
Line 1,165: |
| |} | | |} |
| | | |
− | ===NotificationMessage=== | + | === NotificationMessage === |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 1,084: |
Line 1,180: |
| |} | | |} |
| | | |
− | ===OperationMode=== | + | === OperationMode === |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 1,095: |
Line 1,191: |
| |} | | |} |
| | | |
− | =AppletResourceUserId= | + | = AppletResourceUserId = |
| This u64 is officially called "nn::applet::AppletResourceUserId". Used by a number of non-AM services. | | This u64 is officially called "nn::applet::AppletResourceUserId". Used by a number of non-AM services. |
| | | |
| [[Category:Services]] | | [[Category:Services]] |