[DllImport("gdi32.dll")]
static extern IntPtr CreateFontIndirect([In] ref LOGFONT lplf);
None.
Does not work.
Declaration from MSDN (http://msdn2.microsoft.com/en-us/library/aa288468(vs.71).aspx) is OK :
[DllImport("gdi32.dll", CharSet=CharSet.Auto)]
public static extern IntPtr CreateFontIndirect(
[In, MarshalAs(UnmanagedType.LPStruct)]
LOGFONT lplf // characteristics
);
Please add some!
Do you know one? Please contribute it!