mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
chore: luid
This commit is contained in:
@@ -101,6 +101,7 @@
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=lpwndpl/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=ls_005B_0022sub/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=luestacks/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=luid/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=maatouch/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=MAA_0027s/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=memuc/@EntryIndexedValue">True</s:Boolean>
|
||||
|
||||
@@ -210,7 +210,7 @@ namespace MaaWpfGui.Helper
|
||||
static extern HRESULT D3D12CreateDevice([MarshalAs(UnmanagedType.IUnknown)] object pAdapter, D3D_FEATURE_LEVEL minimumFeatureLevel, in Guid riid, nint ppDevice);
|
||||
}
|
||||
|
||||
private static unsafe string? GetAdapterInstancePath(LUID lUid)
|
||||
private static unsafe string? GetAdapterInstancePath(LUID luid)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -219,7 +219,7 @@ namespace MaaWpfGui.Helper
|
||||
header = new DISPLAYCONFIG_DEVICE_INFO_HEADER
|
||||
{
|
||||
size = (uint)sizeof(DISPLAYCONFIG_ADAPTER_NAME),
|
||||
adapterId = lUid,
|
||||
adapterId = luid,
|
||||
id = 0,
|
||||
type = DISPLAYCONFIG_DEVICE_INFO_TYPE.DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user