mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
28 lines
718 B
C#
28 lines
718 B
C#
using System.Runtime.InteropServices;
|
|
using NvAPIWrapper.Native.Attributes;
|
|
using NvAPIWrapper.Native.General.Structures;
|
|
using NvAPIWrapper.Native.Interfaces;
|
|
|
|
namespace NvAPIWrapper.Native.GPU.Structures
|
|
{
|
|
[StructureVersion(2)]
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct PrivateActiveApplicationV2 : IInitializable
|
|
{
|
|
internal const int MaximumNumberOfApplications = 128;
|
|
|
|
internal StructureVersion _Version;
|
|
internal uint _ProcessId;
|
|
internal LongString _ProcessName;
|
|
|
|
public int ProcessId
|
|
{
|
|
get => (int) _ProcessId;
|
|
}
|
|
|
|
public string ProcessName
|
|
{
|
|
get => _ProcessName.Value;
|
|
}
|
|
}
|
|
} |