Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "GetRegionData" in [All]

gdi32

.
Summary
.

static extern int GetRegionData(IntPtr hRgn, uint dwCount, IntPtr lpRgnData);

.

    // First we call GetRegionData() with a null buffer.

.

    int dataSize = GetRegionData(hRgn, 0, IntPtr.Zero);

.

      // Allocate as much space as the GetRegionData call

.

      int retValue = GetRegionData(hRgn, dataSize, bytes);

.
Documentation
[GetRegionData] on MSDN

 
Access PInvoke.net directly from VS: