Desktop Functions: Smart Device Functions:
|
Search Results for "DI_" in [All]Constants1: 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; 2: WINERROR
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); Enums3: DEVICE_TYPE
FILE_DEVICE_MIDI_IN = 0x0d,
FILE_DEVICE_MIDI_OUT = 0x0e,
FILE_DEVICE_MIDI_IN = &Hd
FILE_DEVICE_MIDI_OUT = &He 4: HRESULT
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) user32
wndclass.hIcon = Win32.LoadIcon(IntPtr.Zero, new IntPtr((int)SystemIcons.IDI_APPLICATION)); 6: DrawIcon
7: DrawIconEx
User32.GetRawInputDeviceInfo(device.hDevice, User32.RIDI_DEVICEINFO, ref di, ref size);
RIDI_PREPARSEDDATA = &H20000005
RIDI_DEVICENAME = &H20000007
RIDI_DEVICEINFO = &H2000000B 10: LoadImage
/// Skip it to use the default <c>#32512</c> (value of <c>IDI_APPLICATION</c>) to use 11: SystemIcons
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 12: TileWindows
TileWindows(IntPtr.Zero, MDI_TILE.SKIPDISABLED, _ gdi3213: GetFontData 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> 14: SelectObject
/// <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> setupapiDI_FUNCTION
If (devParams.Flags And Win32.DI_NEEDRESTART) = Win32.DI_NEEDRESTART OrElse (devParams.Flags And Win32.DI_NEEDREBOOT) = Win32.DI_NEEDREBOOT Then |