Desktop Functions: Smart Device Functions:
|
Search Results for "INPUT" in [All]urlmon
secur32
ref SecBufferDesc pInput,
IntPtr pInput, //PSecBufferDesc SecBufferDesc
ByVal pInput As IntPtr, _
IntPtr pInput, //PSecBufferDesc SecBufferDesc
ref SecBufferDesc pInput,
ref SecBufferDesc pInput,
ref ClientToken, // [in] pointer to the input buffers
ref ClientToken, // [in] pointer to the input buffers iphlpapi
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "LocalAddress" -Value ([System.Net.IPAddress]::new($y[$i].localAddr).IPAddressToString)
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "RemoteAddress" -Value ([System.Net.IPAddress]::new($y[$i].remoteAddr).IPAddressToString)
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "LocalPort" -Value ($y[$i].localPort[1]+($y[$i].localPort[0]*0x100)+($y[$i].localPort[3]*0x1000)+($y[$i].localPort[2]*0x10000))
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "RemotePort" -Value ($y[$i].remotePort[1]+($y[$i].remotePort[0]*0x100)+($y[$i].remotePort[3]*0x1000)+($y[$i].remotePort[2]*0x10000))
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "PID" -Value $y[$i].owningPid
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "ProcessName" -Value ((Get-Process -Id $y[$i].owningPid).ProcessName)
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "StateValue" -Value $y[$i].state
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "State" -Value $StateList[$y[$i].state]
Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "ServiceName" -Value $services[$j].Caption
if ($boolNoService) { Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "ServiceName" -Value $null } 5: GetIfTable
/// On input, specifies the size in bytes of the buffer pointed to by the pIfTable parameter. 6: MIB_IPNETROW
/// <param name="pdwSize">On input, specifies the size of the buffer pointed to
/// <param name="cInFilters">[in] Specifies the number of input filter descriptions pointed to by the pfiltIn parameter.</param>
/// <param name="pfiltIn">[in] Pointer to an array of filter descriptions to use as input filters.</param>
/// <param name="inAction">[in] Specifies a default action for an input packet. This member can be one of the following values.</param>
/// <param name="cInFilters">[in] Specifies the number of input filter descriptions pointed to by the pfiltIn parameter.</param>
/// <param name="pfiltIn">[in] Pointer to an array of filter descriptions to use as input filters.</param> 10: PfTestPacket
/// <param name="pInInterface">[in, optional] Handle to an interface to use as an input interface for the packet. This parameter is optional and may be NULL.</param> 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. 12: XcvData
static extern bool XcvData(IntPtr hXcv, [MarshalAs(UnmanagedType.LPWStr)] string pszDataName, IntPtr InputData, uint cbInputData, setupapi13: CM_Get_Child inputDeviceInstance, Caller-supplied device instance handle that is bound to the local machine. 14: CM_Get_Sibling inputDeviceInstance, Caller-supplied device instance handle that is bound to the local machine
//Inputs: pointer to hdev, SP_DEV_INFO, bool
MidiDevName = "inputwave"
//Inputs: pointer to hdev, SP_DEV_INFO, bool hid18: HidD_FlushQueue
result = HidP_GetValueCaps(HidP_Input, ref valueCaps[0], ref Capabilities.NumberInputValueCaps, preparsedDataPointer); 20: HIDP_CAPS
UInt16 InputReportByteLength;
UInt16 NumberInputButtonCaps;
UInt16 NumberInputValueCaps;
UInt16 NumberInputDataIndices;
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).
Specifies the number of input HIDP_BUTTON_CAPS structures that HidP_GetButtonCaps returns.
Specifies the number of input HIDP_VALUE_CAPS structures that HidP_GetValueCaps returns.
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. shlwapi21: PathGetArgs
/// 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. 22: PathStripPath 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:". winmm23: midiConnect
UInt32 Connect(IntPtr midiInputHandle, IntPtr midiOutputHandle)
return midiConnect(midiInputHandle, midiOutputHandle, IntPtr.Zero); 24: midiDisconnect
UInt32 Disconnect(IntPtr midiInputHandle, IntPtr midiOutputHandle)
return midiDisconnect(midiInputHandle, midiOutputHandle, IntPtr.Zero); 25: midiInClose 26: midiInGetDevCaps 27: midiInGetNumDevs 28: midiInOpen 29: midiInReset 30: midiInStart 31: waveInAddBuffer 32: waveInClose 33: waveInGetNumDevs 34: waveInReset 35: waveInStart ntdll36: PROCESSINFOCLASS
ProcessImageFileMapping, // q: HANDLE (input) misc37: FAQ rapi38: CeRapiInvoke
uint cbInput,
IntPtr pInput, INT MyFunction( DWORD cbInput, BYTE pInput, DWORD pcbOutput, BYTE *ppOutput, IRAPIStream *pStream, PVOID reserved )
LocalFree( pInput ); odbc3239: SQLAllocHandle
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); 40: SQLDataSources
/// <param name="EnvironmentHandle">[Input] Environment handle.</param>
/// <param name="Direction">[Input] Determines which data source the Driver Manager returns information on.</param>
/// <param name="BufferLength1">[Input] Length of the *ServerName buffer, in characters; this does not need to be longer than SQL_MAX_DSN_LENGTH plus the null-termination character.</param>
/// <param name="BufferLength2">[Input] Length in characters of the *Description buffer.</param> 41: SQLFreeHandle
static extern short SQLFreeHandle(ushort HandleType, IntPtr InputHandle);
Declare Function SQLFreeHandle Lib "odbc32.dll" (ByVal HandleType As Short, ByVal InputHandle As IntPtr) As Short kernel3242: ConsoleFunctions
// http://pinvoke.net/default.aspx/kernel32/FlushConsoleInputBuffer.html
static extern bool FlushConsoleInputBuffer(
IntPtr hConsoleInput
// http://pinvoke.net/default.aspx/kernel32/GetNumberOfConsoleInputEvents.html
static extern bool GetNumberOfConsoleInputEvents(
IntPtr hConsoleInput,
// http://pinvoke.net/default.aspx/kernel32/PeekConsoleInput.html
static extern bool PeekConsoleInput(
IntPtr hConsoleInput,
[Out] INPUT_RECORD[] lpBuffer,
IntPtr hConsoleInput,
// http://pinvoke.net/default.aspx/kernel32/ReadConsoleInput.html
[DllImport("kernel32.dll", EntryPoint = "ReadConsoleInputW", CharSet = CharSet.Unicode)]
static extern bool ReadConsoleInput(
IntPtr hConsoleInput,
[Out] INPUT_RECORD[] lpBuffer,
// http://pinvoke.net/default.aspx/kernel32/WriteConsoleInput.html
static extern bool WriteConsoleInput(
IntPtr hConsoleInput,
INPUT_RECORD[] lpBuffer,
public struct INPUT_RECORD 43: CreateNamedPipe
uint nInBufferSize, // input buffer size 44: DeviceIoControl
Dim bBuffer As Byte ' Input buffer.
static extern bool FlushConsoleInputBuffer(IntPtr hConsoleInput); This code segment will allow you to grab the Console input buffer using CreateFileW and Flush the input using FlushConsoleInputBuffer
private static extern bool FlushConsoleInputBuffer(IntPtr hConsoleInput);
private static extern IntPtr GetInputBuffer(
//C# method to flush console input
//"CONIN$" will allow you to grab the input buffer regardless if it is being redirected.
IntPtr inBuffer = GetInputBuffer("CONIN$", 0x40000000 | 0x80000000,
//throw an error if the input buffer is not obtained
FlushConsoleInputBuffer(inBuffer); 46: GetConsoleCP
/* Retrieves the input code page used by the console associated with the calling process.
A console uses its input code page to translate keyboard input into the corresponding character value. */ System.Console.InputEncoding.CodePage 47: GetConsoleMode
ENABLE_PROCESSED_INPUT = &H1
ENABLE_LINE_INPUT = &H2
ENABLE_ECHO_INPUT = &H4
ENABLE_WINDOW_INPUT = &H8
ENABLE_MOUSE_INPUT = &H10 48: GetLongPathName
/// <returns>The long path. Null or empty if the input is null or empty.</returns>
/// The ToLongName function retrieves the long file name form of a specified short input path 49: GetShortPathName
/// The ToLongPathNameToShortPathName function retrieves the short path form of a specified long input path 50: GetStartupInfo
public IntPtr hStdInput; 51: GetStdHandle const int STD_INPUT_HANDLE = -10; 52: PeekConsoleInput
/* Reads data from the specified console input buffer without removing it from the buffer. */
[DllImport("kernel32.dll", EntryPoint = "PeekConsoleInputW", CharSet = CharSet.Unicode, SetLastError = true)]
internal static extern BOOL PeekConsoleInput(
IntPtr hConsoleInput,
[MarshalAs(UnmanagedType.LPArray), Out] INPUT_RECORD[] lpBuffer, 53: ReadConsoleInput
[DllImport("kernel32.dll",EntryPoint="ReadConsoleInputW",CharSet=CharSet.Unicode)]
static extern bool ReadConsoleInput(
IntPtr hConsoleInput,
[Out] INPUT_RECORD [] lpBuffer, 54: SetConsoleMode
ENABLE_PROCESSED_INPUT = 0x0001,
ENABLE_LINE_INPUT = 0x0002,
ENABLE_ECHO_INPUT = 0x0004,
ENABLE_WINDOW_INPUT = 0x0008,
ENABLE_MOUSE_INPUT = 0x0010,
private enum ConsoleInputModes : uint
ENABLE_PROCESSED_INPUT = 0x0001,
ENABLE_LINE_INPUT = 0x0002,
ENABLE_ECHO_INPUT = 0x0004,
ENABLE_WINDOW_INPUT = 0x0008,
ENABLE_MOUSE_INPUT = 0x0010,
ENABLE_PROCESSED_INPUT = &H1
ENABLE_LINE_INPUT = &H2
ENABLE_ECHO_INPUT = &H4
ENABLE_WINDOW_INPUT = &H8
ENABLE_MOUSE_INPUT = &H10
/* Writes data directly to the console input buffer. */
[DllImport("kernel32.dll", EntryPoint = "WriteConsoleInputW", CharSet = CharSet.Unicode, SetLastError = true)]
internal static extern BOOL WriteConsoleInput(
IntPtr hConsoleInput,
[MarshalAs(UnmanagedType.LPArray), In] INPUT_RECORD[] lpBuffer, msvcrt56: kbhit System.Console.KeyAvailable() - Gets a value indicating whether a key press is available in the input stream. (Nonblocking) 57: scanf coredll58: CreateProcess
public IntPtr hStdInput; 59: ExtEscape
static extern int ExtEscape (IntPtr hdc, uint nEscape, uint cbInput, byte[] lpszInData, int cbOutput, IntPtr lpszOutData); 60: ExtEscape
uint cbInput,
ByVal cbInput As Int32, _
uint cbInput, Cut off search results after 60. Please refine your search. |