Desktop Functions: Smart Device Functions:
|
Search Results for "INPUT" in [All]Interfaces1: IDeskBand
Implements IInputObject
Protected BandObjectSite As IInputObjectSite
BandObjectSite = DirectCast(pUnkSite, IInputObjectSite)
Public Overridable Sub UIActivateIO(fActivate As Int32, ByRef Msg As MSG) Implements IInputObject.UIActivateIO
Public Overridable Function HasFocusIO() As Int32 Implements IInputObject.HasFocusIO
Public Overridable Function TranslateAcceleratorIO(ByRef msg As MSG) As Int32 Implements IInputObject.TranslateAcceleratorIO
BandObjectSite.OnFocusChangeIS(TryCast(Me, IInputObject), 1)
BandObjectSite.OnFocusChangeIS(TryCast(Me, IInputObject), 0) Public Interface IInputObject Public Interface IInputObjectSite 2: IDeskBand2
Implements IInputObject
Protected BandObjectSite As IInputObjectSite
BandObjectSite = DirectCast(pUnkSite, IInputObjectSite)
Public Overridable Sub UIActivateIO(fActivate As Int32, ByRef Msg As MSG) Implements IInputObject.UIActivateIO
Public Overridable Function HasFocusIO() As Int32 Implements IInputObject.HasFocusIO
Public Overridable Function TranslateAcceleratorIO(ByRef msg As MSG) As Int32 Implements IInputObject.TranslateAcceleratorIO
BandObjectSite.OnFocusChangeIS(TryCast(Me, IInputObject), 1)
BandObjectSite.OnFocusChangeIS(TryCast(Me, IInputObject), 0) Public Interface IInputObject Public Interface IInputObjectSite
/// <param name="pvaIn">Input arguments</param>
/// <param name="vaIn">Input Arguments</param> 5: IShellFolder
/// <param name="hwnd">If user input is required to perform the enumeration, this window handle should be used by the enumeration object as the parent window to take user input.</param>
///virtual HRESULT STDMETHODCALLTYPE GetInputProcessorProfiles(
/// /* [out] */ ITfInputProcessorProfiles **ppaip,
int GetInputProcessorProfiles(uint dwThreadId, ref IUnknown ppaip, ref uint pdwThreadId);
///virtual HRESULT STDMETHODCALLTYPE SetModalInput(
int SetModalInput(IUnknown pSink, uint dwThreadId, uint dwFlags); ntdsapi7: DsCrackNames 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
result = HidP_GetValueCaps(HidP_Input, ref valueCaps[0], ref Capabilities.NumberInputValueCaps, preparsedDataPointer); 10: 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. gdi3211: Escape
static extern int Escape(IntPtr hdc, int nEscape, int cbInput, 12: 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) advapi32
SE_UNSOLICITED_INPUT_NAME,
Public stdInput As IntPtr
public IntPtr stdInput; 17: LookupAccountSid
public const string SE_UNSOLICITED_INPUT_NAME = "SeUnsolicitedInputPrivilege";
' Setup the input parameters for the LsaRemoveAccountRights API
' Setup the input parameters for the LsaEnumerateAccountsWithUserRight API 21: LsaOpenPolicy
' Setup the input parameters for the LsaEnumerateAccountsWithUserRight API
' Setup the input parameters for the LsaRemoveAccountRights API 23: MapGenericMask After calling the MapGenericMask function, the access mask pointed to by the AccessMask parameter has none of its generic bits (GenericRead, GenericWrite, GenericExecute, or GenericAll) or undefined bits set, although it can have other bits set. If bits other than the generic bits are provided on input, this function does not clear them.
IntPtr InputArg,
internal struct NET_VALIDATE_AUTHENTICATION_INPUT_ARG
public NET_VALIDATE_PERSISTED_FIELDS InputPersistedFields;
internal struct NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG
public NET_VALIDATE_PERSISTED_FIELDS InputPersistedFields;
internal struct NET_VALIDATE_PASSWORD_RESET_INPUT_ARG
public NET_VALIDATE_PERSISTED_FIELDS InputPersistedFields;
var inputArgs = new NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG();
inputArgs.PasswordMatched = true;
inputArgs.UserAccountName = @"accountname";
IntPtr inputPointer = IntPtr.Zero;
inputArgs.ClearPassword = Marshal.StringToBSTR(@"password");
//inputArgs.ClearPassword = Marshal.SecureStringToBSTR(secureStringPassword);
inputPointer = Marshal.AllocHGlobal(Marshal.SizeOf(inputArgs));
Marshal.StructureToPtr(inputArgs, inputPointer, false);
NET_API_STATUS status = NetValidatePasswordPolicy(serverName, IntPtr.Zero, NET_VALIDATE_PASSWORD_TYPE.NetValidatePasswordChange, inputPointer, ref outputPointer);
if (inputArgs.ClearPassword != IntPtr.Zero)
Marshal.ZeroFreeBSTR(inputArgs.ClearPassword);
if (inputPointer != IntPtr.Zero)
Marshal.FreeHGlobal(inputPointer); shlwapi25: 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. 26: 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:". winmm27: midiConnect
UInt32 Connect(IntPtr midiInputHandle, IntPtr midiOutputHandle)
return midiConnect(midiInputHandle, midiOutputHandle, IntPtr.Zero); 28: midiDisconnect
UInt32 Disconnect(IntPtr midiInputHandle, IntPtr midiOutputHandle)
return midiDisconnect(midiInputHandle, midiOutputHandle, IntPtr.Zero); 29: midiInClose 30: midiInGetDevCaps 31: midiInGetNumDevs 32: midiInOpen 33: midiInReset 34: midiInStart 35: waveInAddBuffer 36: waveInClose 37: waveInGetNumDevs 38: waveInReset 39: waveInStart coredll40: CreateProcess
public IntPtr hStdInput; 41: ExtEscape
static extern int ExtEscape (IntPtr hdc, uint nEscape, uint cbInput, byte[] lpszInData, int cbOutput, IntPtr lpszOutData); 42: ExtEscape
uint cbInput,
ByVal cbInput As Int32, _
uint cbInput, 43: GetCapture 44: ImmGetContext 45: ImmSetOpenStatus IME is used to Convert Keyboad input to Local Language.
// close IME(direct input for Alphabet and Number) 46: KernelIoControl
/// <param name="lpInBuf">Pointer to the input buffer.</param> 47: SendInput
static extern uint SendInput(uint cInputs, /* [MarshalAs(UnmanagedType.LPArray)] */ KEYBOARDINPUT[] inputs, int cbSize);
Declare Function SendInput Lib "coredll.dll" (TODO) As TODO
public struct KEYBOARDINPUT
public const uint INPUT_KEYBOARD = 1;
public static extern uint SendInput(uint cInputs, /* [MarshalAs(UnmanagedType.LPArray)] */ KEYBOARDINPUT[] inputs, int cbSize);
KEYBOARDINPUT[] inputs;
inputs = new cTabControl.KEYBOARDINPUT[2];
inputs[0].type = inputs[1].type = cTabControl.INPUT_KEYBOARD;
inputs[0].wVk = inputs[1].wVk = cTabControl.VK_TAB;
inputs[1].dwFlags = cTabControl.KEYEVENTF_KEYUP;
retVal = cTabControl.SendInput(2, inputs, 0x001C);
throw new Exception(string.Format("SendInput() returned {0}.", error));
KEYBOARDINPUT[] inputs;
inputs = new cTabControl.KEYBOARDINPUT[4];
inputs[0].type = inputs[1].type = inputs[2].type = inputs[3].type = cTabControl.INPUT_KEYBOARD;
inputs[0].wVk = inputs[3].wVk = cTabControl.VK_SHIFT;
inputs[1].wVk = inputs[2].wVk = cTabControl.VK_TAB;
inputs[2].dwFlags = inputs[3].dwFlags = cTabControl.KEYEVENTF_KEYUP;
retVal = cTabControl.SendInput(4, inputs, 0x001C);
throw new Exception(string.Format("SendInput() returned {0}.", error));
KEYBOARDINPUT[] inputs;
inputs = new cTabControl.KEYBOARDINPUT[4];
inputs[0].type = inputs[1].type = inputs[2].type = inputs[3].type = cTabControl.INPUT_KEYBOARD;
inputs[0].wVk = inputs[3].wVk = cTabControl.VK_CTRL;
inputs[1].wVk = inputs[2].wVk = cTabControl.VK_TAB;
inputs[2].dwFlags = inputs[3].dwFlags = cTabControl.KEYEVENTF_KEYUP;
retVal = cTabControl.SendInput(4, inputs, 0x001C);
throw new Exception(string.Format("SendInput() returned {0}.", error));
KEYBOARDINPUT[] inputs;
inputs = new cTabControl.KEYBOARDINPUT[6];
inputs[0].type = inputs[1].type = inputs[2].type = inputs[3].type = inputs[4].type = inputs[5].type = cTabControl.INPUT_KEYBOARD;
inputs[0].wVk = inputs[5].wVk = cTabControl.VK_CTRL;
inputs[1].wVk = inputs[4].wVk = cTabControl.VK_SHIFT;
inputs[2].wVk = inputs[3].wVk = cTabControl.VK_TAB;
inputs[2].dwFlags = inputs[5].dwFlags = cTabControl.KEYEVENTF_KEYUP;
retVal = cTabControl.SendInput(6, inputs, 0x001C);
throw new Exception(string.Format("SendInput() returned {0}.", error)); 48: SetWindowPos
/// <summary>If the calling thread and the thread that owns the window are attached to different input queues, 49: SipSetCurrentIM 50: SipShowIM There's the InputPanel control.
inputPanel.Enabled = showIt;
inputPanel.Enabled = !inputPanel.Enabled; Main benefit of using this over the InputPanel is that there is no control to instantiate in the form initialization process. The main drawback is that you do not have access to the InputPanel.Bounds property. C++ TRUE indicates success. When this function fails, it returns an HRESULT error code. 51: waveInClose 52: waveInStop 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 aygshell55: SHFullScreen 56: SHSipPreference A request to display the input panel. Any pending SIP_DOWN requests are ignored. A request to hide the input panel. When this value is used, a timer is set and the input panel is lowered only after the timer message is received. This approach prevents the input panel from flashing when one control requests SIP_DOWN and another control immediately requests SIP_UP. forces the input panel to be hidden immediately, without setting a timer. If you want the input panel hidden and are sure there will be no SIP_UP requests — for example, because your application is a full-screen game — use this value. tells the system to ignore any pending down requests. That is, if SHSipPreference is called with the SIP_DOWN flag, the system sets a timer and after the timer fires, the input panel is lowered. However, if you call SIP_UNCHANGED before the timer fires, then the input panel will stay in its current location. cards57: cdtDraw 58: cdtDrawExt Enums59: DLGC
/// <summary> Control processes all keyboard input. </summary> 60: DS_NAME_ERROR
// Input name mapped to more than one output name.
// Input name found, but not the associated output format. Cut off search results after 60. Please refine your search. |