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

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

        public static Result OutOfSessionMemory => new Result(ModuleId, 102);
        public static Result OutOfSessions => new Result(ModuleId, 131);
        public static Result PointerBufferTooSmall => new Result(ModuleId, 141);
        public static Result OutOfDomains => new Result(ModuleId, 200);

        public static Result InvalidRequestSize => new Result(ModuleId, 402);
        public static Result UnknownCommandType => new Result(ModuleId, 403);

        public static Result InvalidCmifRequest => new Result(ModuleId, 420);

        public static Result TargetNotDomain => new Result(ModuleId, 491);
        public static Result DomainObjectNotFound => new Result(ModuleId, 492);
    }
}