mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
dotnet: Interop.cs: fix newlines
This commit is contained in:
parent
2ed46a39fa
commit
0c90a69b27
@ -1436,8 +1436,8 @@ namespace Fsp.Interop
|
|||||||
String RegPath, DllName, DllPath;
|
String RegPath, DllName, DllPath;
|
||||||
SYSTEM_INFO SystemInfo;
|
SYSTEM_INFO SystemInfo;
|
||||||
GetSystemInfo(out SystemInfo);
|
GetSystemInfo(out SystemInfo);
|
||||||
switch ((UInt32)SystemInfo.wProcessorArchitecture)
|
switch ((UInt32)SystemInfo.wProcessorArchitecture)
|
||||||
{
|
{
|
||||||
case SYSTEM_INFO.PROCESSOR_ARCHITECTURE_ARM64:
|
case SYSTEM_INFO.PROCESSOR_ARCHITECTURE_ARM64:
|
||||||
RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\" + ProductName;
|
RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\" + ProductName;
|
||||||
DllName = ProductFileName + "-a64.dll";
|
DllName = ProductFileName + "-a64.dll";
|
||||||
@ -1451,7 +1451,7 @@ namespace Fsp.Interop
|
|||||||
RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\" + ProductName;
|
RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\" + ProductName;
|
||||||
DllName = ProductFileName + "-x86.dll";
|
DllName = ProductFileName + "-x86.dll";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
IntPtr Module;
|
IntPtr Module;
|
||||||
Module = LoadLibraryW(DllName);
|
Module = LoadLibraryW(DllName);
|
||||||
if (IntPtr.Zero == Module)
|
if (IntPtr.Zero == Module)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user