C language function:CreateCompatibleDC sample codes

Search sample code in the internet.It is the result.


TITLE : Capturing Screen Images in WPF using GDI, Win32 and a little WPF Interop Help - Pete Brown's 10rem.net
targetDC = Gdi32.CreateCompatibleDC(sourceDC);.......
http://10rem.net/blog/2011/02/08/capturing-screen-images-in-wpf-using-gdi-win32-and-a-little-wpf-interop-help


TITLE : Inserting RasterImage using image buffer - AutoCAD DevBlog
HDC hdcMem=CreateCompatibleDC(hdcScr);.......
http://adndevblog.typepad.com/autocad/2013/11/inserting-rasterimage-using-image-buffer.html
TITLE : Powerbuilder – Accessing C# Classes via COM to Capture a Screenshot: Anvil of Time
IntPtr hdcDest = GDI32.CreateCompatibleDC(hdcSrc);.......
http://anvil-of-time.com/wordpress/powerbuilder/powerbuilder-accessing-c-classes-via-com-to-capture-a-screenshot/
TITLE : Powerbuilder – Accessing C# Classes via COM to Capture a Screenshot: Anvil of Time
public static extern IntPtr CreateCompatibleDC(IntPtr hDC);.......
http://anvil-of-time.com/wordpress/powerbuilder/powerbuilder-accessing-c-classes-via-com-to-capture-a-screenshot/
TITLE : Beginner question about text with GDI+ [SOLVED] - Ask for Help - AutoHotkey Community
hdc := CreateCompatibleDC().......
http://autohotkey.com/board/topic/75159-beginner-question-about-text-with-gdi-solved/
search Google

https://www.google.com/#q=CreateCompatibleDC