IAllSystemAppletProxiesService.cs 1.0 KB

1234567891011121314151617181920212223242526272829
  1. using Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService;
  2. namespace Ryujinx.HLE.HOS.Services.Am.AppletAE
  3. {
  4. [Service("appletAE")]
  5. class IAllSystemAppletProxiesService : IpcService
  6. {
  7. public IAllSystemAppletProxiesService(ServiceCtx context) { }
  8. [CommandHipc(100)]
  9. // OpenSystemAppletProxy(u64, pid, handle<copy>) -> object<nn::am::service::ISystemAppletProxy>
  10. public ResultCode OpenSystemAppletProxy(ServiceCtx context)
  11. {
  12. MakeObject(context, new ISystemAppletProxy(context.Request.HandleDesc.PId));
  13. return ResultCode.Success;
  14. }
  15. [CommandHipc(200)]
  16. [CommandHipc(201)] // 3.0.0+
  17. // OpenLibraryAppletProxy(u64, pid, handle<copy>) -> object<nn::am::service::ILibraryAppletProxy>
  18. public ResultCode OpenLibraryAppletProxy(ServiceCtx context)
  19. {
  20. MakeObject(context, new ILibraryAppletProxy(context.Request.HandleDesc.PId));
  21. return ResultCode.Success;
  22. }
  23. }
  24. }