Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "DeleteDC" in [All]

gdi32

.

static extern bool DeleteDC(IntPtr hdc);

.

    DeleteDC(pSource);

.

static extern bool DeleteDC(IntPtr hdc);

.

    DeleteDC(pSource);

.

When you no longer need the information DC, call the DeleteDC function.

.
Summary
The DeleteDC function deletes the specified device context (DC).
.

[DllImport("gdi32.dll", EntryPoint = "DeleteDC")]

.

public static extern bool DeleteDC([In] IntPtr hdc);

.

Private Shared Function DeleteDC(hdc As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean

.

Public Declare Function DeleteDC Lib "gdi32" _

.
Documentation
[DeleteDC] on MSDN
.

                if(hDC!=IntPtr.Zero) DeleteDC(hDC);

.

    static extern bool DeleteDC(IntPtr hdc);

.

    DeleteDC(hdcScreen);

.

                DeleteDC(pSource);

.

        static extern bool DeleteDC(IntPtr hdc);

user32

.

            Win32.DeleteDC(memDc);

.

        public extern static Bool DeleteDC(IntPtr hdc);


 
Access PInvoke.net directly from VS: