[WIN32K]
[reactos.git] / reactos / win32ss / gdi / ntgdi / path.c
index 2452f0d..b262de8 100644 (file)
@@ -2723,7 +2723,7 @@ NtGdiPathToRegion(HDC  hDC)
         if (PATH_PathToRegion(pPath, pdcattr->jFillMode, Rgn))
         {
             PATH_EmptyPath(pPath);
-            RGNOBJAPI_Unlock(Rgn);
+            REGION_UnlockRgn(Rgn);
         }
         else
         {