Desktop Functions: Smart Device Functions:
|
DPtoLP (gdi32)
C# Signature:
[DllImport("gdi32.dll")] User-Defined Types:Notes:I cannot get this to work as-is. When I replace [In, Out] with [MarshalAs(UnmanagedType.LPArray)], everything is fine. Tips & Tricks:Please add some! Sample Code:POINT [] points = { new POINT(rect.Left, rect.Top), new POINT(rect.Right, rect.Bottom) }; bool ret = DPtoLP(m_hdc, points, 2); Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|