---
name: "PathToRegion"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.981018-1.1"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/PathToRegion"
---

# PathToRegion(3w)

PathToRegion32 (GDI32.261)

## NAME

PathToRegion - PathToRegion32    (GDI32.261)

## SYNOPSIS

**HRGN32 PathToRegion(HDC32 hdc);**

## DESCRIPTION

PathToRegion32    (GDI32.261).

## FIXME

Check that SetLastError is being called correctly

The documentation does not state this explicitly, but a test under Windows shows that the region which is returned should be in device coordinates.

## SEE ALSO

[BeginPath(3w)](/BeginPath/3w.md), [EndPath(3w)](/EndPath/3w.md), [AbortPath(3w)](/AbortPath/3w.md), [CloseFigure(3w)](/CloseFigure/3w.md), [GetPath(3w)](/GetPath/3w.md), [FillPath(3w)](/FillPath/3w.md), [SelectClipPath(3w)](/SelectClipPath/3w.md)
