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 "CreateCompatibleDC" in [All]

user32

.

        IntPtr memDc = Win32.CreateCompatibleDC(screenDc);

.

        public extern static IntPtr CreateCompatibleDC(IntPtr hDC);

gdi32

.

static extern IntPtr CreateCompatibleDC(IntPtr hdc);

.

    IntPtr pSource = CreateCompatibleDC(pTarget);

.

static extern IntPtr CreateCompatibleDC(IntPtr hdc);

.

    IntPtr pSource = CreateCompatibleDC(pTarget);

.
Summary
The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device.
.

[DllImport("gdi32.dll", EntryPoint = "CreateCompatibleDC", SetLastError=true)]

.

static extern IntPtr CreateCompatibleDC([In] IntPtr hdc);

.

Private Shared Function CreateCompatibleDC(ByVal hRefDC As IntPtr) As IntPtr

.

Private Declare Function CreateCompatibleDC Lib "gdi32.dll" (hdc As IntPtr) As IntPtr

.
Documentation
[CreateCompatibleDC] on MSDN
.

    IntPtr pDC = CreateCompatibleDC(pTarget);

.

    IntPtr pDC = CreateCompatibleDC(pTarget);

.

    IntPtr pDC = CreateCompatibleDC(pTarget);

.

                IntPtr pSource = CreateCompatibleDC(pTarget);

.

        static extern IntPtr CreateCompatibleDC(IntPtr hdc);


 
Access PInvoke.net directly from VS: