[DllImport("gdi32.dll")]
static extern IntPtr CreateBrushIndirect([In] ref LOGBRUSH lplb);
<DllImport("gdi32.dll", SetLastError:=True)> _
Private Shared Function CreateBrushIndirect( _
ByRef Brush As LOGBRUSH) As IntPtr
End Function
Private Declare Function CreateBrushIndirect Lib "gdi32"( _
ByRef Brush As LOGBRUSH) As IntPtr
C#
private struct LOGBRUSH
{
internal int style;
internal int color;
internal int hatch;
}
VB
Private Structure LOGBRUSH
Dim Style As Integer
Dim Color As Integer
Dim Hatch As Integer
End Structure
None.
Please add some!
Please add some!
Do you know one? Please contribute it!