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

ntdll

.

SeUnsolicitedInputPrivilege = 5

powrprof

.

     IntPtr lpInputBuffer,

.

     UInt32 nInputBufferSize,

.

     IntPtr lpInputBuffer,

.

     uint nInputBufferSize,

.

Private Shared Function CallNtPowerInformation(InformationLevel As Int32, lpInputBuffer As IntPtr, nInputBufferSize As UInt32, lpOutputBuffer As IntPtr, nOutputBufferSize As UInt32) As UInt32

.

        IntPtr lpInputBuffer,

.

        int nInputBufferSize,

.

    private const int PBT_APMRESUMESUSPEND = 7; // (0x7) - Operation is resuming from a low-power state.This message is sent after PBT_APMRESUMEAUTOMATIC if the resume is triggered by user input, such as pressing a key.

.

            Console.WriteLine("\tOperation is resuming from a low-power state.This message is sent after PBT_APMRESUMEAUTOMATIC if the resume is triggered by user input, such as pressing a key.");

Structures

.

->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.

5: DCB
.

    internal sbyte EofChar;          // end of input character

.

    struct DELTA_INPUT

.

Structure DELTA_INPUT

.
Documentation
.

    Private Shared Function ConvertFileTimeToDateTime(input As FILETIME) As DateTime

.

    Dim longTime As ULong = (CType(input.dwHighDateTime, ULong) << 32) Or input.dwLowDateTime

.

    internal struct HARDWAREINPUT

.

Structure HARDWAREINPUT

.
Documentation
[HARDWAREINPUT] on MSDN
.
Documentation
.
Summary
.
Summary
12: INPUT
.
Summary
Used by [user32.SendInput] to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks.
.

public struct INPUT

.

  internal InputUnion U;

.

   get { return Marshal.SizeOf(typeof(INPUT)); }

.

internal struct InputUnion

.

  internal MOUSEINPUT mi;

.

  internal KEYBDINPUT ki;

.

  internal HARDWAREINPUT hi;

.

Structure InputUnion

.

  <FieldOffset(0)> Public mi As MOUSEINPUT

.

  <FieldOffset(0)> Public ki As KEYBDINPUT

.

  <FieldOffset(0)> Public hi As HARDWAREINPUT

.

Structure INPUT

.

  Public u As InputUnion

.

MOUSEINPUT, KEYBDINPUT, HARDWAREINPUT

.

On 64-Bit systems, the offset of the mi, ki and hi fields is 8, because the nested struct uses the alignment of its biggest member, which is 8 (due to the 64-bit pointer in dwExtraInfo). By separating the union into its own structure, rather than placing the mi, ki and hi fields directly in the INPUT structure, we assure that the .Net structure will have the correct alignment on both 32 and 64 bit.

.

"internal int Size" <-- Not quite correct: Size is not part of the structure itself. It is a static helper property to get the size of INPUT in bytes. See SendInput. The definition above works well.

.
Documentation
[INPUT] on MSDN
.
Summary
Used to report input events in the console input buffer
.

    public struct INPUT_RECORD

.

    public struct INPUT_RECORD_UNION

.

    public struct INPUT_RECORD

.

        public INPUT_RECORD_UNION Event;

.

    Public Structure INPUT_RECORD

.

    Public Structure INPUT_RECORD_UNION

.

    Public Structure INPUT_RECORD

.

        Public [Event] As INPUT_RECORD_UNION

.

    Public Enum InputEventTypes

.
Documentation
[INPUT_RECORD] on MSDN
.

   internal enum INPUT_TYPE : uint {

.

      INPUT_MOUSE = 0,

.

      INPUT_KEYBOARD = 1,

.

      INPUT_HARDWARE = 2

.

Structure INPUT_TYPE

.
Documentation
[INPUT_TYPE] on MSDN
.
Summary
The KBDLLHOOKSTRUCT structure contains information about a low-level keyboard input event
.
Summary
The KEYBDINPUT structure contains information about a simulated keyboard event. It's part of the INPUT structure, and is used for the SendInput function.
.

    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

.
Documentation
[KEYBDINPUT] on MSDN
.
Summary
The KEY_EVENT_RECORD structure is used to report keyboard input events in a console INPUT_RECORD structure.
.
Summary
The LASTINPUTINFO structure contains the time of the last input.
.

    struct LASTINPUTINFO

.

        public static readonly int SizeOf = Marshal.SizeOf(typeof(LASTINPUTINFO));

.

    Structure LASTINPUTINFO

.

   type LastInputInfo = {

.
Documentation
[LASTINPUTINFO] on MSDN
.

    internal struct MOUSEINPUT

.

Structure MOUSEINPUT

.
Documentation
[MOUSEINPUT] on MSDN
.
Summary
The MOUSE_EVENT_RECORD structure is used in a console INPUT_RECORD structure to report mouse input events.
.
Summary
The MSLLHOOKSTRUCT structure contains information about a low-level mouse input event.
.

    ''' 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.

.
Summary
.

    /// Value type for raw input.

.

    public struct RawInput

.

        public RawInputHeader Header;

.

        /// <summary>Mouse raw input data.</summary>

.

        public RawInputMouse Mouse;

.

        /// <summary>Keyboard raw input data.</summary>

.

        /// <summary>HID raw input data.</summary>

.

        public RawInputHid Hid;

.

    /// Contains the raw input from a device.

.

    public struct RawInput

.

        public RawInputHeader Header;

.

            /// Mouse raw input data.

.

            /// Keyboard raw input data.

.

            /// HID raw input data.

.

    ''' <summary>Contains the raw input from a device.</summary>

.

    Public Structure RawInput

.

    Public Header As RAWINPUTHEADER

.

        ''' <summary>Mouse raw input data.</summary>

.

        ''' <summary>Keyboard raw input data.</summary>

.

        ''' <summary>HID raw input data.</summary>

.
Documentation
[RAWINPUT] on MSDN
.
Summary
Structure containing device information for raw input.
.

/// <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

.
Documentation
[RAWINPUTDEVICE] on MSDN
.
Summary
Structure containing header information for raw input data.
.

    /// 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

.
Documentation
[RAWINPUTHEADER] on MSDN
.

    /// Value type for raw input from a HID.

.

    public struct RAWINPUTHID

.

Structure RAWINPUTHID

.
Documentation
[RAWINPUTHID] on MSDN
.
Summary
.

    /// Value type for raw input from a keyboard.

.

    ''' Value type for raw input from a keyboard.

.
Summary
Structure containing raw input information from a mouse device.
.

Structure RAWINPUTMOUSE

.
Documentation
[RAWINPUTMOUSE] on MSDN
.
Summary
Input buffer to FSCTL_READ_USN_JOURNAL
.

     public IntPtr hStdInput;

.

     public IntPtr hStdInput;

.

   Public hStdInput As Integer

.
Summary
Indicates the properties of a storage device or adapter to retrieve as the input buffer passed to the IOCTL_STORAGE_QUERY_PROPERTY control code.
.

  public uint dwBytesRecorded; // used for input only

.

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.

userenv

.

    /// <param name="env">The input environment</param>

winmm

.
Summary
Connects a MIDI input device to a MIDI thru or output device, or connects a MIDI thru device to a MIDI output device.
.

UInt32 Connect(IntPtr midiInputHandle, IntPtr midiOutputHandle)

.

     return midiConnect(midiInputHandle, midiOutputHandle, IntPtr.Zero);

.
Summary
Disconnects a MIDI input device from a MIDI thru or output device, or disconnects a MIDI thru device from a MIDI output device.
.

UInt32 Disconnect(IntPtr midiInputHandle, IntPtr midiOutputHandle)

.

     return midiDisconnect(midiInputHandle, midiOutputHandle, IntPtr.Zero);

.
Summary
The midiInClose function closes the specified MIDI input device
.
Summary
The midiInGetDevCaps function determines the capabilities of a specified MIDI input device.
.
Summary
midiInGetNumDevs - retrieves the number of MIDI input devices in the system
.
Summary
Open a MIDI Port for Input
.
Summary
The midiInReset function stops input on a given MIDI input device
.
Summary
midiInStart - starts MIDI input on the specified MIDI input device
.
Summary
The waveInAddBuffer function sends an input buffer to the given waveform-audio input device.
.
Summary
The waveInClose function closes the given waveform-audio input device.
.
Summary
Gets number of input devices
.
Summary
The waveInReset function stops input on the given waveform-audio input device and resets the current position to zero.
.
Summary
The waveInStart function starts input on the given waveform-audio input device.

ntdsapi

.

The success of the name conversion request depends on where the client is bound. Clients bind to specific instances of the directory service using some variant of DsBind. If bound to a global catalog, the scope of the name mapping is the entire forest. If not bound to a global catalog, the scope of the name mapping is the domain not covered by a global catalog for that domain controller. If not bound to a global catalog and a name is not found, but the input name unambiguously identifies its domain and this domain is in the forest, then the return data identifies the DNS domain name for the domain of interest. Clients are expected to use this data to bind to the correct domain controller or global catalog and call DsCrackNames again with the new bind handle.

.

The return value from DsCrackNames indicates errors such as invalid parameters or insufficient memory. However, problems in converting individual names are reported in the status member of the DS_NAME_RESULT_ITEM structure returned for each input name.

.

      // Input name mapped to more than one output name.

.

      // Input name found, but not the associated output format.

hid

.
Summary
Removes any Input reports waiting in the buffer.
.

            result = HidP_GetValueCaps(HidP_Input, ref valueCaps[0], ref Capabilities.NumberInputValueCaps, preparsedDataPointer);

.

private static extern bool HidD_GetInputReport(SafeFileHandle HidDeviceObject, StringBuilder Buffer, uint BufferLength);

.

Declare Function HidD_GetInputReport Lib "hid.dll" (TODO) As TODO

.
Documentation
[HidD_GetInputReport] on MSDN
.

private static extern bool HidD_GetNumInputBuffers(SafeFileHandle HidDeviceObject, ref uint NumberBuffers);

.

Declare Function HidD_GetNumInputBuffers Lib "hid.dll" (TODO) As TODO

.
Documentation
[HidD_GetNumInputBuffers] on MSDN
.

private static extern bool HidD_SetNumInputBuffers(SafeFileHandle HidDeviceObject, uint BufferLength);

.

Declare Function HidD_SetNumInputBuffers Lib "hid.dll" (TODO) As TODO

.
Documentation
[HidD_SetNumInputBuffers] on MSDN
.

      UInt16 InputReportByteLength;

.

      UInt16 NumberInputButtonCaps;

.

      UInt16 NumberInputValueCaps;

.

      UInt16 NumberInputDataIndices;

.

InputReportByteLength

.

Specifies the maximum size, in bytes, of all the input reports (including the report ID, if report IDs are used, which is prepended to the report data).

.

NumberInputButtonCaps

.

Specifies the number of input HIDP_BUTTON_CAPS structures that HidP_GetButtonCaps returns.

.

NumberInputValueCaps

.

Specifies the number of input HIDP_VALUE_CAPS structures that HidP_GetValueCaps returns.

.

NumberInputDataIndices

.

Specifies the number of data indices assigned to buttons and values in all input reports.

.

Callers of the HIDClass support routines use the information provided in this structure when a called routine requires, as input, the size of a report type, the number of link collection nodes, the number of control capabilities, or the number of data indices.

shlwapi

.

/// If there are no arguments in the path, the function returns a pointer to the end of the input string.

.

''' If there are no arguments in the path, the function returns a pointer to the end of the input string.

.

This is similar, but not identical, to Path.GetFileName. If the input string ends with a directory, the directory is returned rather than nothing; for example, "C:\foo\" becomes "foo\", "C:" stays "C:".

odbc32

.

extern static short SQLAllocHandle(ushort HandleType, int InputHandle, out IntPtr OutputHandle);

.

Private Declare Auto Function SQLAllocHandle Lib "odbc32.dll" (ByVal HandleType As Short, ByVal InputHandle As IntPtr, ByRef OutputHandle As IntPtr) As Short

.

    private static extern short SQLAllocHandle(short hType, IntPtr inputHandle, out IntPtr outputHandle);

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: