fixed maximum wait time in EnterCriticalPolicySection
Modified: trunk/reactos/lib/userenv/gpolicy.c
--- trunk/reactos/lib/userenv/gpolicy.c 2006-01-12 20:35:36 UTC (rev 20814) +++ trunk/reactos/lib/userenv/gpolicy.c 2006-01-12 20:38:18 UTC (rev 20815) @@ -493,9 +493,9 @@
if (hSection != NULL) {
- /* wait up to 10 seconds */
+ /* wait up to 10 minutes */
if (WaitForSingleObject(hSection,
- 60000) != WAIT_FAILED)
+ 600000) != WAIT_FAILED)
{ return hSection; }