/// <summary>
/// Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
/// </summary>
/// <param name="hdc">A handle to the DC.</param>
/// <param name="hgdiobj">A handle to the object to be selected. The specified object must have been created by using one of the following functions.</param>
/// <returns>
/// <para>If the selected object is not a region and the function succeeds, the return value is a handle to the object being replaced.
/// If the selected object is a region and the function succeeds, the return value is one of the values of RegionFlags".</para>
/// <para>If an error occurs and the selected object is not a region, the return value is <see cref="System.IntPtr.Zero"/>. Otherwise, it is HGDI_ERROR.</para>
/// </returns>
[DllImport("gdi32.dll", EntryPoint = "SelectObject", SetLastError=true)]
static extern IntPtr SelectObject([In] IntPtr hdc, [In] IntPtr hgdiobj);
<DllImport("Gdi32.dll")> _
Public Shared Function SelectObject(ByVal hdc As IntPtr, ByVal hObject As IntPtr) As IntPtr
End Function
Public Declare Function SelectObject Lib "gdi32.dll" _
(ByVal prmlngHDc As Long, _
ByVal hObject As Long) As Long
None.
None.
Please add some!
Please see BitBlt
Do you know one? Please contribute it!