From 29c9711dbcd725f08eef841e31a937d0b626802a Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 12 Jan 2006 20:38:18 +0000 Subject: [PATCH] fixed maximum wait time in EnterCriticalPolicySection svn path=/trunk/; revision=20815 --- reactos/lib/userenv/gpolicy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/userenv/gpolicy.c b/reactos/lib/userenv/gpolicy.c index 3b1820379b0..68f76725bfb 100644 --- a/reactos/lib/userenv/gpolicy.c +++ b/reactos/lib/userenv/gpolicy.c @@ -493,9 +493,9 @@ EnterCriticalPolicySection(IN BOOL bMachine) if (hSection != NULL) { - /* wait up to 10 seconds */ + /* wait up to 10 minutes */ if (WaitForSingleObject(hSection, - 60000) != WAIT_FAILED) + 600000) != WAIT_FAILED) { return hSection; }