Services/APT: Return the proper error code when calling SendParameter with an outstanding parameter already in memory.

This commit is contained in:
Subv
2017-07-21 13:19:55 -05:00
parent a9bc417f59
commit 68596a7068
2 changed files with 17 additions and 4 deletions

View File

@ -116,6 +116,12 @@ enum class ScreencapPostPermission : u32 {
DisableScreenshotPostingToMiiverse = 3
};
namespace ErrCodes {
enum {
ParameterPresent = 2,
};
}
/// Send a parameter to the currently-running application, which will read it via ReceiveParameter
void SendParameter(const MessageParameter& parameter);