From f7a03d620e280f5de7125cd2a4a6252c93ffbbd6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Mon, 12 Dec 2022 04:13:40 +0200 Subject: [PATCH] steam_helper: Use PROCESSINFOCLASS. We no longer have PROCESS_INFORMATION_CLASS as of ce91ef6426bf ("kernelbase: Add SetProcessInformation().") --- steam_helper/steam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp index eca32f5a..c044580a 100644 --- a/steam_helper/steam.cpp +++ b/steam_helper/steam.cpp @@ -1446,7 +1446,7 @@ int main(int argc, char *argv[]) } if (game_process) - NtSetInformationProcess( GetCurrentProcess(), (PROCESS_INFORMATION_CLASS)1000 /* ProcessWineMakeProcessSystem */, + NtSetInformationProcess( GetCurrentProcess(), (PROCESSINFOCLASS)1000 /* ProcessWineMakeProcessSystem */, &wait_handle, sizeof(HANDLE *) ); if(wait_handle != INVALID_HANDLE_VALUE)