Setup: Ensure DWM patcher service is unregistered during servicing
This commit is contained in:
@@ -28,6 +28,7 @@ typedef struct __MIDL___MIDL_itf_inputswitchserver_0000_0000_0003
|
||||
BOOL fDisabled;
|
||||
BOOL fHidden;
|
||||
WCHAR* pszIconGlyph;
|
||||
void* pUnk1; // @Note: Added in 22621.4974
|
||||
} INPUT_SWITCH_IDL_IME_MODE_ITEM_DATA;
|
||||
|
||||
typedef enum __MIDL___MIDL_itf_inputswitchserver_0000_0000_0004
|
||||
|
||||
+2
-2
@@ -1162,9 +1162,9 @@ int WINAPI wWinMain(
|
||||
{
|
||||
bAreRoundedCornersDisabled = GetLastError() == ERROR_ACCESS_DENIED;
|
||||
}
|
||||
if (bAreRoundedCornersDisabled)
|
||||
RegisterDWMService(0, 1);
|
||||
if (bInstall && bAreRoundedCornersDisabled)
|
||||
{
|
||||
RegisterDWMService(0, 1);
|
||||
RegisterDWMService(0, 3);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user