From 32a8193c749c3d9c791e90030b15752836e546d9 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Fri, 28 Mar 2025 10:00:46 +1000 Subject: [PATCH] Fix value of `CLSCTX.ALLOW_LOWER_TRUST_REGISTRATION` --- src/BizHawk.Common/Win32/Ole32Imports.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Common/Win32/Ole32Imports.cs b/src/BizHawk.Common/Win32/Ole32Imports.cs index 9e8753e20f..90eec08532 100644 --- a/src/BizHawk.Common/Win32/Ole32Imports.cs +++ b/src/BizHawk.Common/Win32/Ole32Imports.cs @@ -34,7 +34,7 @@ namespace BizHawk.Common ACTIVATE_AAA_AS_IU = 0x800000, RESERVED6 = 0x1000000, ACTIVATE_ARM32_SERVER = 0x2000000, - ALLOW_LOWER_TRUST_REGISTRATION, + ALLOW_LOWER_TRUST_REGISTRATION = 0x4000000, // missing from official docs lmao, but confirmed by https://github.com/microsoft/windows-rs/blob/3fd93b0a8064e4c9c2fb6f43da798030124ee9c5/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs#L315 PS_DLL = 0x80000000 }