Desktop Functions: Smart Device Functions:
|
CreateCompatibleDC (gdi32)
C# Signature:
[DllImport("gdi32.dll", SetLastError=true)] VB.NET Signature:
<DllImport("gdi32.dll", SetLastError:=True)> _ VB Signature:
Private Declare Function CreateCompatibleDC Lib "gdi32.dll" (hdc As IntPtr) As IntPtr Parameters:hdc in Handle to an existing DC. If this handle is NULL, the function creates a memory DC compatible with the application's current screen. Return Values:If the function succeeds, the return value is the handle to a memory DC. If the function fails, the return value is NULL. User-Defined Types:None. Notes:None. Tips & Tricks:If you pass NULL, or zero, to this function you'll get the screen device context. Sample Code:Please see BitBlt Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|