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

shell32

.

    public IntPtr hdcDst;

user32

.

        CDS_NONE = 0,

.

        CDS_UPDATEREGISTRY = 0x00000001,

.

        CDS_TEST = 0x00000002,

.

        CDS_FULLSCREEN = 0x00000004,

.

        CDS_GLOBAL = 0x00000008,

.

        CDS_SET_PRIMARY = 0x00000010,

.

        CDS_VIDEOPARAMETERS = 0x00000020,

.

        CDS_ENABLE_UNSAFE_MODES = 0x00000100,

.

        CDS_DISABLE_UNSAFE_MODES = 0x00000200,

.

        CDS_RESET = 0x40000000,

.

        CDS_RESET_EX = 0x20000000,

.

        CDS_NORESET = 0x10000000

.

        CDS_NONE = 0

.

        CDS_UPDATEREGISTRY = &H1

.

        CDS_TEST = &H2

.

        CDS_FULLSCREEN = &H4

.

        CDS_GLOBAL = &H8

.

        CDS_SET_PRIMARY = &H10

.

        CDS_VIDEOPARAMETERS = &H20

.

        CDS_ENABLE_UNSAFE_MODES = &H100

.

        CDS_DISABLE_UNSAFE_MODES = &H200

.

        CDS_RESET = &H40000000

.

        CDS_RESET_EX = &H20000000

.

        CDS_NORESET = &H10000000

.

ChangeDisplaySettingsEx(d.DeviceName, ref dm, IntPtr.Zero, CDS_UPDATEREGISTRY, IntPtr.Zero);

.

        CDS_NONE = 0,

.

        CDS_UPDATEREGISTRY = 0x00000001,

.

        CDS_TEST = 0x00000002,

.

        CDS_FULLSCREEN = 0x00000004,

.

        CDS_GLOBAL = 0x00000008,

.

        CDS_SET_PRIMARY = 0x00000010,

.

        CDS_VIDEOPARAMETERS = 0x00000020,

.

        CDS_ENABLE_UNSAFE_MODES = 0x00000100,

.

        CDS_DISABLE_UNSAFE_MODES = 0x00000200,

.

        CDS_RESET = 0x40000000,

.

        CDS_RESET_EX = 0x20000000,

.

        CDS_NORESET = 0x10000000

.

    CDS_NONE = 0

.

    CDS_UPDATEREGISTRY = &H1

.

    CDS_TEST = &H2

.

    CDS_FULLSCREEN = &H4

.

    CDS_GLOBAL = &H8

.

    CDS_SET_PRIMARY = &H10

.

    CDS_VIDEOPARAMETERS = &H20

.

    CDS_ENABLE_UNSAFE_MODES = &H100

.

    CDS_DISABLE_UNSAFE_MODES = &H200

.

    CDS_RESET = &H40000000

.

    CDS_RESET_EX = &H20000000

.

    CDS_NORESET = &H10000000

.

static extern bool UnionRect(out RECT lprcDst, [In] ref RECT lprcSrc1,

.

static extern bool UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst,

.

        public extern static Bool UpdateLayeredWindow(IntPtr handle, IntPtr hdcDst, ref Point pptDst, ref Size psize, IntPtr hdcSrc, ref Point pprSrc, int crKey, ref BLENDFUNCTION pblend, int dwFlags);

comctl32

.

static extern bool ImageList_DrawEx(IntPtr himl, int i, IntPtr hdcDst, int x, int y, int dx, int dy, int rgbBk, int rgbFg, int fStyle);

.

Private Shared Function ImageList_DrawEx(himl As IntPtr, i As Integer, hdcDst As IntPtr, x As Integer, y As Integer, dx As Integer, _

.

       public extern static bool ImageList_DrawEx(IntPtr himl, int i, IntPtr hdcDst, int x, int y, int dx, int dy, uint rgbBk, uint rgbFg, ImageListDrawingStyle fStyle);

.

       public extern static bool ImageList_DrawEx(IntPtr himl, int i, IntPtr hdcDst, int x, int y, int dx, int dy, uint rgbBk, uint rgbFg, ImageListDrawingStyle fStyle);

odbc32

.

        Dim cDSNBuf(64) As Char

.

        Dim sDSN As String = New String(cDSNBuf)

advapi32

.

    ALG_SID_ECDSA = 3,

.

    CALG_ECDSA = (CryptAlgClass.ALG_CLASS_SIGNATURE | CryptAlgType.ALG_TYPE_DSS | CryptAlgSID.ALG_SID_ECDSA)

coredll

.

Declare Function ChangeDisplaySettingsEx Lib "coredll.dll" (ByVal lpszDeviceName As String, ByVal lpDevMode As Byte(), ByVal hwnd As IntPtr, ByVal dwflags As CDSFlags, ByVal lParam As IntPtr) As CDSRet

.

    Enum CDSFlags

.

    CDS_VIDEOPARAMETERS = &H20

.

    CDS_RESET = &H40000000

.

    Enum CDSRet

.

    Friend Shared Function ChangeDisplaySettingsEx(ByVal lpszDeviceName As String, ByVal lpDevMode As Byte(), ByVal hwnd As IntPtr, ByVal dwflags As CDSFlags, ByVal lParam As IntPtr) As CDSRet

.

        Dim ret As CDSRet = ChangeDisplaySettingsEx(Nothing, devMode.Data, IntPtr.Zero, 0, IntPtr.Zero)

Structures

.

        public IntPtr hdcDst;

.

        Public hdcDst As IntPtr

Enums

13: CDS
.

public enum CDS : int

.

Enum CDS As Integer

.
Documentation
[CDS] on MSDN

 
Access PInvoke.net directly from VS: