Desktop Functions: Smart Device Functions:
|
Search Results for "INPUT" in [All]gdi321: Escape
static extern int Escape(IntPtr hdc, int nEscape, int cbInput, 2: ExtEscape
static extern int ExtEscape(IntPtr hdc, int nEscape, int cbInput,
Public Shared Function ExtEscape(ByVal hdc As IntPtr, ByVal nEscape As Integer, ByVal cbInput As Integer, ByVal lpszInData As String, ByVal cbOutput As Integer, ByRef lpszOutData As IntPtr) As Integer
//Here only to catch errors where input is not a number (EXIT, for example, is a string) Constants4: NERR_
/// <summary> 2357 - Could not determine the type of input. </summary>
/// <summary> 2662 - There is no DFS name whose entry path matches the input Entry Path. </summary> 5: PROPERTYKEY
public static PropertyKey WPD_PROPERTY_MTP_EXT_OPERATION_CODE = new PropertyKey(0x4d545058, 0x1a2e, 0x4106, 0xa3, 0x57, 0x77, 0x1e, 0x8, 0x19, 0xfc, 0x56, 1001); // [ VT_UI4 ] : Input param which identifies the vendor-extended MTP operation code
public static PropertyKey WPD_PROPERTY_MTP_EXT_OPERATION_PARAMS = new PropertyKey(0x4d545058, 0x1a2e, 0x4106, 0xa3, 0x57, 0x77, 0x1e, 0x8, 0x19, 0xfc, 0x56, 1002); // [ VT_UNKNOWN ] : Input IPortableDevicePropVariantCollection (of VT_UI4) specifying the params for the vendor operation
public static PropertyKey WPD_PROPERTY_MTP_EXT_TRANSFER_TOTAL_DATA_SIZE = new PropertyKey(0x4d545058, 0x1a2e, 0x4106, 0xa3, 0x57, 0x77, 0x1e, 0x8, 0x19, 0xfc, 0x56, 1007); // [ VT_UI8 ] : Input (when writing data) or output (when reading data) param which specifies total data size in bytes (excluding any overhead)
public static PropertyKey WPD_PROPERTY_MTP_EXT_TRANSFER_NUM_BYTES_TO_READ = new PropertyKey(0x4d545058, 0x1a2e, 0x4106, 0xa3, 0x57, 0x77, 0x1e, 0x8, 0x19, 0xfc, 0x56, 1008); // [ VT_UI4 ] : Input param specifying the number of bytes to read from device in a series of read calls
public static PropertyKey WPD_PROPERTY_MTP_EXT_TRANSFER_NUM_BYTES_TO_WRITE = new PropertyKey(0x4d545058, 0x1a2e, 0x4106, 0xa3, 0x57, 0x77, 0x1e, 0x8, 0x19, 0xfc, 0x56, 1010); // [ VT_UI4 ] : Input specifying the number of bytes to send to device in a series of write calls 6: ShellAPI
public const int SEE_MASK_WAITFORINPUTIDLE = 0x02000000; 7: ShellAPI
public const int SEE_MASK_WAITFORINPUTIDLE = 0x02000000; 8: WINERROR
/// Name translation: Input name mapped to more than one output name.
/// Name translation: Input name found, but not the associated output format.
/// User input required for operation to succeed
/// Common prefix is input moniker
/// An outgoing call cannot be made since the application is dispatching an input-synchronous call.
public const int RPC_E_CANTCALLOUT_ININPUTSYNCCALL = (int)(0x8001010D - 0x100000000);
public const int OSS_MORE_INPUT = (int)(0x80093004 - 0x100000000); 9: WM
private const UInt32 WM_INPUTLANGCHANGE = 0x0051;
private const UInt32 WM_INPUTLANGCHANGEREQUEST = 0x0050;
WM_INPUTLANGCHANGE = &H51
WM_INPUTLANGCHANGEREQUEST = &H50
WM_INPUTLANGCHANGEREQUEST equ 050h
WM_INPUTLANGCHANGE equ 051h Structures10: COMMTIMEOUTS ->If there are any bytes in the input buffer, ReadFile returns immediately with the bytes in the buffer. ->If there are no bytes in the input buffer, ReadFile waits until a byte arrives and then returns immediately. 11: DCB
internal sbyte EofChar; // end of input character 12: DELTA_INPUT 13: FILETIME
Private Shared Function ConvertFileTimeToDateTime(input As FILETIME) As DateTime
Dim longTime As ULong = (CType(input.dwHighDateTime, ULong) << 32) Or input.dwLowDateTime 14: HARDWAREINPUT 15: HitTestValues 18: INPUT
internal enum INPUT_TYPE : uint {
INPUT_MOUSE = 0,
INPUT_KEYBOARD = 1,
INPUT_HARDWARE = 2
Structure INPUT_TYPE 19: INPUT_RECORD 20: INPUT_TYPE
internal enum INPUT_TYPE : uint {
INPUT_MOUSE = 0,
INPUT_KEYBOARD = 1,
INPUT_HARDWARE = 2
Structure INPUT_TYPE 21: KBDLLHOOKSTRUCT 22: KEYBDINPUT
internal struct KEYBDINPUT
Structure KEYBDINPUT
///Input Method Editor (IME) Kana mode
///The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods. For more information,
///see Remark in KEYBDINPUT, SendInput, WM_KEYDOWN, and WM_KEYUP 23: KEY_EVENT_RECORD 24: LASTINPUTINFO
struct LASTINPUTINFO
public static readonly int SizeOf = Marshal.SizeOf(typeof(LASTINPUTINFO));
Structure LASTINPUTINFO
type LastInputInfo = { 25: MOUSEINPUT 27: MSLLHOOKSTRUCT 28: OpenFileName
''' You can specify an index on input to indicate the initial filter description and filter
''' When the dialog box returns, it sets these flags to indicate the user's input. 29: RAWINPUT 30: RAWINPUTDEVICE
/// <summary>Value type for raw input devices.</summary>
public struct RAWINPUTDEVICE
/// <summary>Top level collection Usage page for the raw input device.</summary>
/// <summary>Top level collection Usage for the raw input device. </summary>
public RawInputDeviceFlags Flags;
''' <summary>Value type for raw input devices.</summary>
Public Structure RAWINPUTDEVICE
''' <summary>Top level collection Usage page for the raw input device.</summary>
''' <summary>Top level collection Usage for the raw input device. </summary>
Public Flags As RawInputDeviceFlags HIDUsagePage, HIDUsage, RawInputDeviceFlags 31: RAWINPUTHEADER
/// Value type for a raw input header.
public struct RAWINPUTHEADER
/// <summary>Type of device the input is coming from.</summary>
public RawInputType Type;
''' Value type for a raw input header.
Public Structure RawInputHeader
''' <summary>Type of device the input is coming from.</summary>
Public Type As RawInputType 32: RAWINPUTHID 33: RAWINPUTKEYBOARD 34: RAWINPUTMOUSE 37: WAVEHDR
public uint dwBytesRecorded; // used for input only 38: Win32Consts Have a look at SendInput for an example of where these constants are used.
// For use with the INPUT struct, see SendInput for an example
public const int INPUT_MOUSE = 0;
public const int INPUT_KEYBOARD = 1;
public const int INPUT_HARDWARE = 2;
' For use with the INPUT struct, see SendInput for an example
INPUT_MOUSE = 0
INPUT_KEYBOARD = 1
INPUT_HARDWARE = 2 Buffer size events are placed in the input buffer when the console is in window-aware mode (ENABLE_WINDOW_INPUT).
System.Runtime.InteropServices.ComTypes.FILETIME LastInputTime; The rationale behind the change in the history for this is because is that he/she wanted to "unmarshal". However, in functions like WlanConnect(), it is used as an "input". So, it needs to be marshaled. Then I believe they should be IntPtr. msvcrt42: kbhit System.Console.KeyAvailable() - Gets a value indicating whether a key press is available in the input stream. (Nonblocking) 43: scanf cards44: cdtDraw 45: cdtDrawExt winspool
static extern int DocumentProperties(IntPtr hwnd, IntPtr hPrinter, [MarshalAs(UnmanagedType.LPWStr)] string pDeviceName, IntPtr pDevModeOutput, IntPtr pDevModeInput, int fMode);
static extern int DocumentProperties(IntPtr hWnd, IntPtr hPrinter, string pDeviceName, IntPtr pDevModeOutput, IntPtr pDevModeInput, fModes fMode);
Private Shared Function DocumentProperties(ByVal hwnd As IntPtr, ByVal hPrinter As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pDeviceName As String, ByVal pDevModeOutput As IntPtr, ByVal pDevModeInput As IntPtr, ByVal fMode As Integer) As Integer Doesn't work on a x64 system. (i.e. this declaration is wrong for x64, I'm just not quite sure why.). MH:I tested the code extensivly and I think the param "IntPtr pDevModeInput" must not have the "ref" flag. If it has the initial state of the dialog is wrong. EP: Yup, you're right! Thanks!!! I've been trying to figure out why it doesn't work on some drivers for a few weeks now! "ref" removed. 47: XcvData
static extern bool XcvData(IntPtr hXcv, [MarshalAs(UnmanagedType.LPWStr)] string pszDataName, IntPtr InputData, uint cbInputData, ncrypt48: NCryptDecrypt
[MarshalAs(UnmanagedType.LPArray)] byte[] pbInput,
int cbInput, 49: NCryptEncrypt
[MarshalAs(UnmanagedType.LPArray)] byte[] pbInput,
int cbInput,
IntPtr pbInputByteArray,
int cbInput,
When the input is a 4 byte DWORD; you may also use this:
ref int pbInput,
int cbInput, misc51: FAQ ntdll52: PROCESSINFOCLASS
ProcessImageFileMapping, // q: HANDLE (input) msdelta53: CreateDeltaW
DELTA_INPUT GlobalOptions,
DELTA_INPUT GlobalOptions, DELTA_INPUT ws2_3254: Command
/// Use to determine the amount of data pending in the network's input buffer that can be read from socket s. 55: ControlCode
/// Use to determine the amount of data pending in the network's input buffer that can be read from socket s. 56: MsgFlags
/// but is not removed from the input queue. winmm57: midiConnect
UInt32 Connect(IntPtr midiInputHandle, IntPtr midiOutputHandle)
return midiConnect(midiInputHandle, midiOutputHandle, IntPtr.Zero); 58: midiDisconnect
UInt32 Disconnect(IntPtr midiInputHandle, IntPtr midiOutputHandle)
return midiDisconnect(midiInputHandle, midiOutputHandle, IntPtr.Zero); 59: midiInClose 60: midiInGetDevCaps Cut off search results after 60. Please refine your search. |