IWindowController.cs 793 B

1234567891011121314151617181920212223242526272829
  1. using Ryujinx.Common.Logging;
  2. namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.SystemAppletProxy
  3. {
  4. class IWindowController : IpcService
  5. {
  6. public IWindowController() { }
  7. [Command(1)]
  8. // GetAppletResourceUserId() -> nn::applet::AppletResourceUserId
  9. public ResultCode GetAppletResourceUserId(ServiceCtx context)
  10. {
  11. Logger.Stub?.PrintStub(LogClass.ServiceAm);
  12. context.ResponseData.Write(0L);
  13. return ResultCode.Success;
  14. }
  15. [Command(10)]
  16. // AcquireForegroundRights()
  17. public ResultCode AcquireForegroundRights(ServiceCtx context)
  18. {
  19. Logger.Stub?.PrintStub(LogClass.ServiceAm);
  20. return ResultCode.Success;
  21. }
  22. }
  23. }