mirror of
https://github.com/reactos/reactos.git
synced 2026-06-21 03:16:15 +08:00
The Win32 TryEnterCriticalSection(), which returns a 32-bit BOOL, directly redirects to NTDLL!RtlTryEnterCriticalSection(). The latter should therefore return a 32-bit boolean as well: use the LOGICAL type for this purpose. This change has been validated with the System Informer phnt headers. This mismatch was caught by Marcin Jabłoński (TheNNX).