Changes

400 bytes added ,  17:34, 1 August 2023
no edit summary
Line 279: Line 279:  
Takes a type-0x9 input buffer containing the [[#EventId]], an input u64 '''ApplicationId''' and a type-0x5 input buffer containing the [[#SystemReport]]. No output.
 
Takes a type-0x9 input buffer containing the [[#EventId]], an input u64 '''ApplicationId''' and a type-0x5 input buffer containing the [[#SystemReport]]. No output.
   −
Same as [[#SaveReport]] except the [[#SystemReport]] Version field is 1 instead of 0.
+
Same as [[#SaveReport]] except the [[#SystemReport]] Flags field is 1 instead of 0.
    
== SaveReportWithUserForAntiPiracy ==
 
== SaveReportWithUserForAntiPiracy ==
 
Takes a type-0x9 input buffer containing the [[#EventId]], an input u64 '''ApplicationId''', a type-0x5 input buffer containing the [[#SystemReport]] and an input [[Account_services#Uid|Uid]]. No output.
 
Takes a type-0x9 input buffer containing the [[#EventId]], an input u64 '''ApplicationId''', a type-0x5 input buffer containing the [[#SystemReport]] and an input [[Account_services#Uid|Uid]]. No output.
   −
Same as [[#SaveReportWithUser]] except the [[#SystemReport]] Version field is 1 instead of 0.
+
Same as [[#SaveReportWithUser]] except the [[#SystemReport]] Flags field is 1 instead of 0.
    
== SendReportWithUser ==
 
== SendReportWithUser ==
Line 321: Line 321:     
== RegisterWatchdog ==
 
== RegisterWatchdog ==
Takes a type-0x9 input buffer, an input s64 "nn::TimeSpanType" and an input u64. Returns an output [[#WatchdogHandle]].
+
Takes a type-0x9 input buffer, an input [[#TimeSpanType]] and an input u64. Returns an output [[#WatchdogHandle]].
    
== UnregisterWatchdog ==
 
== UnregisterWatchdog ==
Line 364: Line 364:     
== SetDurationReportChatteringDetectionThreshold ==
 
== SetDurationReportChatteringDetectionThreshold ==
Takes an input s64 "nn::TimeSpanType" and an input u64. No output.
+
Takes an input [[#TimeSpanType]] and an input u64. No output.
    
The input s64 must be >=1. The two input fields are written into global state, and various state is also cleared.
 
The input s64 must be >=1. The two input fields are written into global state, and various state is also cleared.
Line 745: Line 745:     
=== TimeSpanType ===
 
=== TimeSpanType ===
This is an u64.
+
This is an s64.
    
== ISystemClock ==
 
== ISystemClock ==
Line 1,316: Line 1,316:  
| 0x20
 
| 0x20
 
| 0x08
 
| 0x08
| [[NCM_services#ProgramId|ProgramId]]
+
| ApplicationId
 
|-
 
|-
 
| 0x28
 
| 0x28
 
| 0x04
 
| 0x04
| Version
+
| Flags
 
|-
 
|-
 
| 0x2C
 
| 0x2C
Line 1,345: Line 1,345:  
= EventId =
 
= EventId =
 
This is "nn::srepo::EventId". This is a 0x20-byte string.
 
This is "nn::srepo::EventId". This is a 0x20-byte string.
 +
 +
= WatchdogHandle =
 +
This is "nn::srepo::WatchdogHandle". This is an u64.
 +
 +
= WatchdogStatistics =
 +
This is "nn::srepo::WatchdogStatistics".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x00
 +
| 0x08
 +
|
 +
|-
 +
| 0x08
 +
| 0x08
 +
|
 +
|}
 +
 +
= ResultHolder =
 +
This is "nn::srepo::detail::ipc::ResultHolder". This is an u32.
 +
 +
= SfAppletIdentityInfo =
 +
This is "nn::srepo::detail::ipc::SfAppletIdentityInfo". This is a 0x10-byte struct.
    
[[Category:Services]]
 
[[Category:Services]]