dotnet: Interop.cs: fix newlines

This commit is contained in:
Bill Zissimopoulos 2022-02-03 16:15:24 +00:00
parent 2ed46a39fa
commit 0c90a69b27
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -1436,8 +1436,8 @@ namespace Fsp.Interop
String RegPath, DllName, DllPath;
SYSTEM_INFO SystemInfo;
GetSystemInfo(out SystemInfo);
switch ((UInt32)SystemInfo.wProcessorArchitecture)
{
switch ((UInt32)SystemInfo.wProcessorArchitecture)
{
case SYSTEM_INFO.PROCESSOR_ARCHITECTURE_ARM64:
RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\" + ProductName;
DllName = ProductFileName + "-a64.dll";
@ -1451,7 +1451,7 @@ namespace Fsp.Interop
RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\" + ProductName;
DllName = ProductFileName + "-x86.dll";
break;
}
}
IntPtr Module;
Module = LoadLibraryW(DllName);
if (IntPtr.Zero == Module)