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

gdi32

.

static extern IntPtr CreateDC(string lpszDriver, string lpszDevice,

.

public Function CreateDC(<MarshalAs(UnmanagedType.LPStr)>lpszDriver As String, _

.

Declare Function CreateDC Lib "gdi32.dll" ( _

.

        hdc = CreateDC("DISPLAY", null, null, IntPtr.Zero); // create a new dc,yeni bir dc yaratıyoruz.Yeni bir system dc si yaratıyoruz.

.

    [DllImport("gdi32.dll", EntryPoint = "CreateDC", CharSet = CharSet.Auto, SetLastError = true)]

.

    private static extern IntPtr CreateDC(string lpszDriver, string lpszDeviceName, string lpszOutput, IntPtr devMode);

.
Documentation
[CreateDC] on MSDN
.

                hDC =CreateDC(null,printername,0,IntPtr.Zero);

.

    static extern IntPtr CreateDC(string strDriver,

.

    IntPtr hdcScreen = CreateDC("Display", null, null, IntPtr.Zero);


 
Access PInvoke.net directly from VS: