mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-07-15 07:24:19 +00:00
Move solution and projects to src
This commit is contained in:
20
src/Ryujinx.Horizon/Sm/Impl/ServiceInfo.cs
Normal file
20
src/Ryujinx.Horizon/Sm/Impl/ServiceInfo.cs
Normal file
@@ -0,0 +1,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user