aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Sf/Hipc/HipcResult.cs
blob: 3b483be81ede93c38b5ac0141a9b78ac946a0144 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Ryujinx.Horizon.Common;

namespace Ryujinx.Horizon.Sdk.Sf.Hipc
{
    static class HipcResult
    {
        public const int ModuleId = 11;

        public static Result OutOfSessionMemory    => new(ModuleId, 102);
        public static Result OutOfSessions         => new(ModuleId, 131);
        public static Result PointerBufferTooSmall => new(ModuleId, 141);
        public static Result OutOfDomains          => new(ModuleId, 200);
        public static Result InvalidRequestSize    => new(ModuleId, 402);
        public static Result UnknownCommandType    => new(ModuleId, 403);
        public static Result InvalidCmifRequest    => new(ModuleId, 420);
        public static Result TargetNotDomain       => new(ModuleId, 491);
        public static Result DomainObjectNotFound  => new(ModuleId, 492);
    }
}