mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 13:48:31 +00:00
21 lines
417 B
C#
21 lines
417 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|