Drawing3d documented Class Library

FeaturesW32.EndPath Method

The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context.

[Visual Basic]
<PreserveSig> _
<DllImport(EntryPoint:="EndPath", CharSet:=CharSet.None, SetLastError:=False, ExactSpelling:=False, PreserveSig:=True, CallingConvention:=CallingConvention.Winapi, BestFitMapping:=False, ThrowOnUnmappableChar:=False, Value:="gdi32.dll")> _
Public Shared Sub EndPath( _
   ByVal hDC As IntPtr _
)
[C#]
[PreserveSig]
[DllImport(EntryPoint="EndPath", CharSet=CharSet.None, SetLastError=False, ExactSpelling=False, PreserveSig=True, CallingConvention=CallingConvention.Winapi, BestFitMapping=False, ThrowOnUnmappableChar=False, Value="gdi32.dll")]
public static int EndPath(
   IntPtr hDC
);

Parameters

hDC
A handle to the device context.

Return Value

If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.

See Also

FeaturesW32 Class | Drawing3d.OS.Windows Namespace | BeginPath