mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NDK][RTL] Use LOGICAL also for RtlIsCriticalSectionLocked(ByThread)
This change has been validated with the System Informer phnt headers.
This commit is contained in:
@@ -3193,14 +3193,14 @@ RtlInitializeCriticalSectionAndSpinCount(
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
ULONG
|
||||
LOGICAL
|
||||
NTAPI
|
||||
RtlIsCriticalSectionLocked(
|
||||
_In_ PRTL_CRITICAL_SECTION CriticalSection
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
ULONG
|
||||
LOGICAL
|
||||
NTAPI
|
||||
RtlIsCriticalSectionLockedByThread(
|
||||
_In_ PRTL_CRITICAL_SECTION CriticalSection
|
||||
|
||||
@@ -863,14 +863,14 @@ RtlCheckForOrphanedCriticalSections(HANDLE ThreadHandle)
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
ULONG
|
||||
LOGICAL
|
||||
NTAPI
|
||||
RtlIsCriticalSectionLocked(PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
return CriticalSection->RecursionCount != 0;
|
||||
}
|
||||
|
||||
ULONG
|
||||
LOGICAL
|
||||
NTAPI
|
||||
RtlIsCriticalSectionLockedByThread(PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user