@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The DeleteDC function deletes the specified device context (DC). !!!!C# Signature: /// <summary>Deletes the specified device context (DC).</summary> /// <param name="hdc">A handle to the device context.</param> /// <returns><para>If the function succeeds, the return value is nonzero.</para><para>If the function fails, the return value is zero.</para></returns> /// <remarks>An application must not delete a DC whose handle was obtained by calling the <c>GetDC</c> function. Instead, it must call the <c>ReleaseDC</c> function to free the DC.</remarks> [DllImport("gdi32.dll", EntryPoint = "DeleteDC")] public static extern bool DeleteDC([In] IntPtr hdc); !!!!VB.NET Signature: <DllImport("gdi32.dll")> _ Private Shared Function DeleteDC(hdc As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean End Function !!!!VB Signature: Public Declare Function DeleteDC Lib "gdi32" _ (ByVal hDC As Long) As Long !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: DeleteDC@msdn on MSDN
Edit gdi32.deletedc
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.