mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-28 09:36:28 +00:00
[host] windows: opt into the Multimedia Class Schedule Service
This improves overall application performance as windows will give this process higher priority for low latency multimedia tasks.
This commit is contained in:
parent
92f27cc0f0
commit
443f98d2fa
@ -31,6 +31,7 @@
|
|||||||
#include <wtsapi32.h>
|
#include <wtsapi32.h>
|
||||||
#include <userenv.h>
|
#include <userenv.h>
|
||||||
#include <winternl.h>
|
#include <winternl.h>
|
||||||
|
#include <dwmapi.h>
|
||||||
|
|
||||||
#include "interface/platform.h"
|
#include "interface/platform.h"
|
||||||
#include "common/debug.h"
|
#include "common/debug.h"
|
||||||
@ -477,6 +478,8 @@ void boostPriority(void)
|
|||||||
DEBUG_INFO("To fix this, install and run the Looking Glass host as a service.");
|
DEBUG_INFO("To fix this, install and run the Looking Glass host as a service.");
|
||||||
DEBUG_INFO("looking-glass-host.exe InstallService");
|
DEBUG_INFO("looking-glass-host.exe InstallService");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DwmEnableMMCSS(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CALLBACK exitEventCallback(PVOID opaque, BOOLEAN timedOut)
|
void CALLBACK exitEventCallback(PVOID opaque, BOOLEAN timedOut)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user