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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "DI_" in [All]

gdi32

.

If the function succeeds, the return value is the number of bytes returned. If the function fails, the return value is GDI_ERROR.

.

    /// If an error occurs and the selected object is not a region, the return value is NULL. Otherwise, it is HGDI_ERROR.</returns>

.

    /// <returns>If the function succeeds, the return value is the number of bytes returned. If the function fails, the return value is GDI_ERROR.</returns>

.

///   <para>If an error occurs and the selected object is not a region, the return value is <c>NULL</c>. Otherwise, it is <c>HGDI_ERROR</c>.</para>

setupapi

.

DI_FUNCTION

.

  If (devParams.Flags And Win32.DI_NEEDRESTART) = Win32.DI_NEEDRESTART OrElse (devParams.Flags And Win32.DI_NEEDREBOOT) = Win32.DI_NEEDREBOOT Then

Constants

5: DI_
.

public const int DI_MASK = 0x0001;

.

public const int DI_IMAGE = 0x0002;

.

/// Combination of DI_IMAGE and DI_MASK.

.

public const int DI_NORMAL = 0x0003;

.

public const int DI_COMPAT = 0x0004;

.

public const int DI_DEFAULTSIZE = 0x0008;

.

public const int DI_NOMIRROR = 0x0010;

.

        public const int SPAPI_E_DI_DO_DEFAULT = (int)(0x800F020E - 0x100000000);

.

        public const int SPAPI_E_DI_NOFILECOPY = (int)(0x800F020F - 0x100000000);

.

        public const int SPAPI_E_DI_BAD_PATH = (int)(0x800F0214 - 0x100000000);

.

        public const int SPAPI_E_DI_POSTPROCESSING_REQUIRED = (int)(0x800F0226 - 0x100000000);

.

        public const int SPAPI_E_DI_DONT_INSTALL = (int)(0x800F022B - 0x100000000);

user32

.

DI_

.

DI_

.

    User32.GetRawInputDeviceInfo(device.hDevice, User32.RIDI_DEVICEINFO, ref di, ref size);

.

//Call this passing RIDI_DEVICEINFO

.

//Call this passing RIDI_DEVICENAME

.

        RIDI_PREPARSEDDATA = 0x20000005,

.

        RIDI_DEVICENAME = 0x20000007,

.

        RIDI_DEVICEINFO = 0x2000000B

.

     RIDI_PREPARSEDDATA = &H20000005

.

     RIDI_DEVICENAME = &H20000007

.

     RIDI_DEVICEINFO = &H2000000B

.

        var firstCall = GetRawInputDeviceInfo(deviceHandle, RIDI_DEVICENAME, devBufer, ref returnedDataSize);

.

        var secondCall = GetRawInputDeviceInfo(deviceHandle, RIDI_DEVICEINFO, ref devInfo, ref returnedDataSize);

.

         GetRawInputDeviceInfo(itm.Key, DeviceInfoTypes.RIDI_DEVICENAME, IntPtr.Zero, pcbSize)

.

         GetRawInputDeviceInfo(itm.Key, DeviceInfoTypes.RIDI_DEVICENAME, pData, pcbSize)

.

        ///        Skip it to use the default <c>#32512</c> (value of <c>IDI_APPLICATION</c>) to use

.

    IDI_APPLICATION = 32512,

.

    IDI_HAND = 32513,

.

    IDI_QUESTION = 32514,

.

    IDI_EXCLAMATION = 32515,

.

    IDI_ASTERISK = 32516,

.

    IDI_WINLOGO = 32517,

.

    IDI_WARNING = IDI_EXCLAMATION,

.

    IDI_ERROR = IDI_HAND,

.

    IDI_INFORMATION = IDI_ASTERISK,

.

    IDI_APPLICATION = 32512

.

    IDI_HAND = 32513

.

    IDI_QUESTION = 32514

.

    IDI_EXCLAMATION = 32515

.

    IDI_ASTERISK = 32516

.

    IDI_WINLOGO = 32517

.

    IDI_WARNING = IDI_EXCLAMATION

.

    IDI_ERROR = IDI_HAND

.

    IDI_INFORMATION = IDI_ASTERISK

.

            TileWindows(IntPtr.Zero, MDI_TILE.SKIPDISABLED, _

Enums

.

    FILE_DEVICE_MIDI_IN = 0x0d,

.

    FILE_DEVICE_MIDI_OUT = 0x0e,

.

    FILE_DEVICE_MIDI_IN = &Hd

.

    FILE_DEVICE_MIDI_OUT = &He

.

    public const int SPAPI_E_DI_DO_DEFAULT = unchecked((int)0x800F020E);

.

    public const int SPAPI_E_DI_NOFILECOPY = unchecked((int)0x800F020F);

.

    public const int SPAPI_E_DI_BAD_PATH = unchecked((int)0x800F0214);

.

    public const int SPAPI_E_DI_POSTPROCESSING_REQUIRED = unchecked((int)0x800F0226);

.

    public const int SPAPI_E_DI_DONT_INSTALL = unchecked((int)0x800F022B);

.

    Public Const SPAPI_E_DI_DO_DEFAULT As Integer = CInt(&H800f020eUI)

.

    Public Const SPAPI_E_DI_NOFILECOPY As Integer = CInt(&H800f020fUI)

.

    Public Const SPAPI_E_DI_BAD_PATH As Integer = CInt(&H800f0214UI)

.

    Public Const SPAPI_E_DI_POSTPROCESSING_REQUIRED As Integer = CInt(&H800f0226UI)

.

    Public Const SPAPI_E_DI_DONT_INSTALL As Integer = CInt(&H800f022bUI)


 
Access PInvoke.net directly from VS: