1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
using Ryujinx.Horizon.Sdk.Sm; namespace Ryujinx.Horizon.Sm.Impl { struct ServiceInfo { public ServiceName Name; public ulong OwnerProcessId; public int PortHandle; public void Free() { HorizonStatic.Syscall.CloseHandle(PortHandle); Name = ServiceName.Invalid; OwnerProcessId = 0L; PortHandle = 0; } } }