[DllImport("gdi32.dll", EntryPoint="GetCharacterPlacementW")]
static extern uint GetCharacterPlacementW(IntPtr hdc, [MarshalAs(UnmanagedType.LPWStr)] string lpString,
int nCount, int nMaxExtent, ref GCP_RESULTS lpResults, uint dwFlags);
[StructLayout(LayoutKind.Sequential)]
public struct GCP_RESULTS
{
public uint lStructSize;
public IntPtr lpOutString;
public IntPtr lpOrder;
public IntPtr lpDx;
public IntPtr lpCaretPos;
public char* lpClass;
public IntPtr lpGlyphs;
public uint nGlyphs;
public int nMaxFit;
}
None.
Please add some!
Please add some!
Do you know one? Please contribute it!