Sebastian Lackner : gdi32: Use RtlIsCriticalSectionLockedByThread to check lock owner.