MapWindowPoints (user32)
Last changed: -82.192.246.90

.
Summary

C# Signature:

[DllImport("user32.dll", SetLastError=true)]

public static extern int MapWindowPoints(IntPtr hwndFrom, IntPtr hwndTo, ref POINT lpPoints, [MarshalAs(UnmanagedType.U4)] int cPoints);

User-Defined Types:

POINT

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

POINT[] pnt = new POINT[1] {rect.Location};

MapWindowPoints(controlFrom.Handle, controlTo.Handle, ref pnt[0], pnt.Length);

Alternative Managed API:

Do you know one? Please contribute it!

Documentation