Fix NVAPI compile error

This commit is contained in:
Dan Balasescu 2024-02-02 01:14:55 +09:00
parent a217a7f8cf
commit dda691b8c2
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ internal struct NvProfile
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = NVAPI.UNICODE_STRING_MAX)]
public string ProfileName;
[MarshalAs(UnmanagedType.ByValArray)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
public uint[] GPUSupport;
public uint IsPredefined;