Description
Creates a Microsoft Windows Graphics Device
Interface (GDI) region from this region.
Syntax
GpStatus WINGDIPAPI GdipGetRegionHRgn(
GpRegion
*region,
GpGraphics
*graphics,
HRGN *hRgn
);
PowerBASIC Syntax
DECLARE FUNCTION GdipGetRegionHRgn ( _
BYVAL region AS
DWORD, _
BYVAL graphics
AS DWORD, _
BYREF hRgn AS
DWORD _
) AS LONG
Parameters
region
[in] Pointer to the
Region
object.
graphics
[in] Pointer to a Graphics
object that contains the world and page transformations required to
calculate the device coordinates of this region.
hRgn
[out] Pointer to a variable that receives a
Windows handle to a GDI region that is created from this region.
Remarks
It is the caller's responsibility to call the
GDI function DeleteObject to free the GDI region
when it is no longer needed.
|