forked from osmocom/wireshark
Win32: Add a missing check.
...otherwise we'll crash on older versions of Windows. Change-Id: If9c1b653496930fbfad4e9e663a8340990f3f295 Reviewed-on: https://code.wireshark.org/review/27626 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
2a9886bf09
commit
a0b46a06f3
|
@ -136,6 +136,7 @@ HANDLE set_thread_per_monitor_v2_awareness(void) {
|
|||
}
|
||||
|
||||
void revert_thread_per_monitor_v2_awareness(HANDLE context) {
|
||||
if (! get_proc_addresses()) return;
|
||||
SetThreadDpiAwarenessContextP((DPI_AWARENESS_CONTEXT) context);
|
||||
}
|
||||
#else // DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
|
||||
|
|
Loading…
Reference in New Issue