This structure is allocated by a user-mode application. It is a container for a reply that the application sends in response to a message received from a kernel-mode minifilter or minifilter instance.
The [KEYBDINPUT] structure contains information about a simulated keyboard event. It's part of the [INPUT] structure, and is used for the SendInput function.
4/10/2012 6:38:31 PM - -77.125.97.109
TODO - a short description
3/2/2014 12:08:19 AM - -2.93.14.172
.
///see Remark in KEYBDINPUT, SendInput, WM_KEYDOWN, and WM_KEYUP
I tried to use this to send files to the recycle bin. It failed (Marshal.GetLastWin32Error was 6, invalid handle) and sometimes threw a NullReferenceException. To make it work I did the following;
public static PropertyKey PKEY_IsSendToTarget = new PropertyKey( 0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0, 33);
.
public static PropertyKey PKEY_Message_SenderAddress = new PropertyKey( 0x0BE1C8E7, 0x1981, 0x4676, 0xAE, 0x14, 0xFD, 0xD7, 0x8F, 0x05, 0xA6, 0xE7, 100);
.
public static PropertyKey PKEY_Message_SenderName = new PropertyKey( 0x0DA41CFA, 0xD224, 0x4A18, 0xAE, 0x2F, 0x59, 0x61, 0x58, 0xDB, 0x4B, 0x3A, 100);
.
public static PropertyKey WPD_EMAIL_SENDER_ADDRESS = new PropertyKey(0x41F8F65A, 0x5484, 0x4782, 0xB1, 0x3D, 0x47, 0x40, 0xDD, 0x7C, 0x37, 0xC5, 10);
.
public static PropertyKey WPD_COMMAND_SMS_SEND = new PropertyKey(0xAFC25D66, 0xFE0D, 0x4114, 0x90, 0x97, 0x97, 0x0C, 0x93, 0xE9, 0x20, 0xD1, 2);
.
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
/// An error occurred in sending the command to the application.
.
public const int RPC_S_SEND_INCOMPLETE = 1913;
.
public const int ERROR_DS_LDAP_SEND_QUEUE_FULL = 8616;
.
/// A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
.
/// A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call.
.
public const int WSA_QOS_SENDERS = 11006;
.
/// There are no senders.
.
public const int WSA_QOS_NO_SENDERS = 11007;
.
/// Peer failed to send valid machine certificate
.
/// The caller is dispatching an intertask SendMessage call and cannot call out via PostMessage.
.
public const int RPC_E_CANTPOST_INSENDCALL = (int)(0x80010003 - 0x100000000);
.
/// The client is trying to negotiate a context and the server requires user-to-user but didn't send a TGT reply.
The WM_CANCELMODE message is sent to cancel certain modes, such as mouse capture. For example, the system sends this message to the active window when a dialog box or message box is displayed. Certain functions also send this message explicitly to the specified window regardless of whether it is the active window. For example, the EnableWindow function sends this message when disabling the specified window.
The EnableWindow API
6/3/2011 9:52:45 AM - -193.47.77.5
.
WM_CHANGEUISTATE
0x127
An application sends the WM_CHANGEUISTATE message to indicate that the user interface (UI) state should be changed.
.
WM_CLEAR
0x303
An application sends a WM_CLEAR message to an edit control or combo box to delete (clear) the current selection, if any, from the edit control.
.
WM_COMMAND
0x111
The WM_COMMAND message is sent when the user selects a command item from a menu, when a control sends a notification message to its parent window, or when an accelerator keystroke is translated.
.
WM_COMPAREITEM
0x39
The system sends the WM_COMPAREITEM message to determine the relative position of a new item in the sorted list of an owner-drawn combo box or list box. Whenever the application adds a new item, the system sends this message to the owner of a combo box or list box created with the CBS_SORT or LBS_SORT style.
.
WM_COPY
0x301
An application sends the WM_COPY message to an edit control or combo box to copy the current selection to the clipboard in CF_TEXT format.
.
WM_COPYDATA
0x4A
An application sends the WM_COPYDATA message to pass data to another application.
.
WM_CTLCOLOREDIT
0x133
An edit control that is not read-only or disabled sends the WM_CTLCOLOREDIT message to its parent window when the control is about to be drawn. By responding to this message, the parent window can use the specified device context handle to set the text and background colors of the edit control.
.
WM_CTLCOLORSTATIC
0x138
A static control, or an edit control that is read-only or disabled, sends the WM_CTLCOLORSTATIC message to its parent window when the control is about to be drawn. By responding to this message, the parent window can use the specified device context handle to set the text and background colors of the static control.
.
WM_CUT
0x300
An application sends a WM_CUT message to an edit control or combo box to delete (cut) the current selection, if any, in the edit control and copy the deleted text to the clipboard in CF_TEXT format.
.
WM_DELETEITEM
0x2D
Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.
.
WM_FONTCHANGE
0x1D
An application sends the WM_FONTCHANGE message to all top-level windows in the system after changing the pool of font resources.
.
WM_GETFONT
0x31
An application sends a WM_GETFONT message to a control to retrieve the font with which the control is currently drawing its text.
.
WM_GETHOTKEY
0x33
An application sends a WM_GETHOTKEY message to determine the hot key associated with a window.
.
WM_GETOBJECT
0x3D
Active Accessibility sends the WM_GETOBJECT message to obtain information about an accessible object contained in a server application. Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint, AccessibleObjectFromEvent, or AccessibleObjectFromWindow. However, server applications handle this message.
The AccessibleObjectFromPoint function retrieves the address of the IAccessible interface pointer for the object at a specified point on the screen.
7/8/2008 11:50:52 AM - -200.67.139.59
The AccessibleObjectFromEvent function retrieves the address of the IAccessible interface for the object that generated the event. The event is the one that the client's event hook function is currently processing.
11/25/2011 12:59:17 AM - -84.155.137.237
Click to read this page
1/2/2008 5:19:46 AM - -12.47.205.126
.
WM_GETTEXT
0xD
An application sends a WM_GETTEXT message to copy the text that corresponds to a window into a buffer provided by the caller.
.
WM_GETTEXTLENGTH
0xE
An application sends a WM_GETTEXTLENGTH message to determine the length, in characters, of the text associated with a window.
.
WM_IME_CONTROL
0x283
Sent by an application to direct the IME window to carry out the requested command. The application uses this message to control the IME window that it has created. To send this message, the application calls the SendMessage function with the following parameters.
.
WM_MDIACTIVATE
0x222
An application sends the WM_MDIACTIVATE message to a multiple-document interface (MDI) client window to instruct the client window to activate a different MDI child window.
.
WM_MDICASCADE
0x227
An application sends the WM_MDICASCADE message to a multiple-document interface (MDI) client window to arrange all its child windows in a cascade format.
.
WM_MDICREATE
0x220
An application sends the WM_MDICREATE message to a multiple-document interface (MDI) client window to create an MDI child window.
.
WM_MDIDESTROY
0x221
An application sends the WM_MDIDESTROY message to a multiple-document interface (MDI) client window to close an MDI child window.
.
WM_MDIGETACTIVE
0x229
An application sends the WM_MDIGETACTIVE message to a multiple-document interface (MDI) client window to retrieve the handle to the active MDI child window.
.
WM_MDIICONARRANGE
0x228
An application sends the WM_MDIICONARRANGE message to a multiple-document interface (MDI) client window to arrange all minimized MDI child windows. It does not affect child windows that are not minimized.
.
WM_MDIMAXIMIZE
0x225
An application sends the WM_MDIMAXIMIZE message to a multiple-document interface (MDI) client window to maximize an MDI child window. The system resizes the child window to make its client area fill the client window. The system places the child window's window menu icon in the rightmost position of the frame window's menu bar, and places the child window's restore icon in the leftmost position. The system also appends the title bar text of the child window to that of the frame window.
.
WM_MDINEXT
0x224
An application sends the WM_MDINEXT message to a multiple-document interface (MDI) client window to activate the next or previous child window.
.
WM_MDIREFRESHMENU
0x234
An application sends the WM_MDIREFRESHMENU message to a multiple-document interface (MDI) client window to refresh the window menu of the MDI frame window.
.
WM_MDIRESTORE
0x223
An application sends the WM_MDIRESTORE message to a multiple-document interface (MDI) client window to restore an MDI child window from maximized or minimized size.
.
WM_MDISETMENU
0x230
An application sends the WM_MDISETMENU message to a multiple-document interface (MDI) client window to replace the entire menu of an MDI frame window, to replace the window menu of the frame window, or both.
.
WM_MDITILE
0x226
An application sends the WM_MDITILE message to a multiple-document interface (MDI) client window to arrange all of its MDI child windows in a tile format.
.
WM_NCDESTROY
0x82
The WM_NCDESTROY message informs a window that its nonclient area is being destroyed. The DestroyWindow function sends the WM_NCDESTROY message to the window following the WM_DESTROY message. WM_DESTROY is used to free the allocated memory object associated with the window.
Destroys the specified window.
11/17/2015 11:58:29 AM - -74.212.46.188
.
WM_NULL
0x0
The WM_NULL message performs no operation. An application sends the WM_NULL message if it wants to post a message that the recipient window will ignore.
.
WM_PARENTNOTIFY
0x210
The WM_PARENTNOTIFY message is sent to the parent of a child window when the child window is created or destroyed, or when the user clicks a mouse button while the cursor is over the child window. When the child window is being created, the system sends WM_PARENTNOTIFY just before the CreateWindow or CreateWindowEx function that creates the window returns. When the child window is being destroyed, the system sends the message before any processing to destroy the window takes place.
The CreateWindowStation API
3/16/2007 8:23:15 AM - Expression2-1.64.38.215
Creates a window with an extended window style.
1/14/2017 5:31:40 PM - -193.190.253.150
.
WM_PASTE
0x302
An application sends a WM_PASTE message to an edit control or combo box to copy the current content of the clipboard to the edit control at the current caret position. Data is inserted only if the clipboard contains data in CF_TEXT format.
.
WM_QUERYENDSESSION
0x11
The WM_QUERYENDSESSION message is sent when the user chooses to end the session or when an application calls one of the system shutdown functions. If any application returns zero, the session is not ended. The system stops sending WM_QUERYENDSESSION messages as soon as one application returns zero. After processing this message, the system sends the WM_ENDSESSION message with the wParam parameter set to the results of the WM_QUERYENDSESSION message.
.
WM_SETFONT
0x30
An application sends a WM_SETFONT message to specify the font that a control is to use when drawing text.
.
WM_SETHOTKEY
0x32
An application sends a WM_SETHOTKEY message to a window to associate a hot key with the window. When the user presses the hot key, the system activates the window.
.
WM_SETICON
0x80
An application sends the WM_SETICON message to associate a new large or small icon with a window. The system displays the large icon in the ALT+TAB dialog box, and the small icon in the window caption.
.
WM_SETREDRAW
0xB
An application sends the WM_SETREDRAW message to a window to allow changes in that window to be redrawn or to prevent changes in that window from being redrawn.
.
WM_SETTEXT
0xC
Text / Caption changed on the control. An application sends a WM_SETTEXT message to set the text of a window.
.
WM_SETTINGCHANGE
0x1A
An application sends the WM_SETTINGCHANGE message to all top-level windows after making a change to the WIN.INI file. The SystemParametersInfo function sends this message after an application uses the function to change a setting in WIN.INI.
The SystemParametersInfo API
10/30/2013 11:50:28 AM - -212.117.77.91
.
WM_UNDO
0x304
An application sends a WM_UNDO message to an edit control to undo the last operation. When this message is sent to an edit control, the previously deleted text is restored or the previously added text is deleted.
.
WM_USERCHANGED
0x54
The WM_USERCHANGED message is sent to all windows after the user has logged on or off. When the user logs on or off, the system updates the user-specific settings. The system sends this message immediately after updating the settings.
.
WM_WININICHANGE
0x1A
An application sends the WM_WININICHANGE message to all top-level windows after making a change to the WIN.INI file. The SystemParametersInfo function sends this message after an application uses the function to change a setting in WIN.INI. Note The WM_WININICHANGE message is provided only for compatibility with earlier versions of the system. Applications should use the WM_SETTINGCHANGE message.
The BluetoothAuthenticateDeviceEx function sends an authentication request to a remote Bluetooth device. Additionally, this function allows for out-of-band data to be passed into the function call for the device being authenticated.
The BluetoothAuthenticateDeviceEx function sends an authentication request to a remote Bluetooth device. Additionally, this function allows for out-of-band data to be passed into the function call for the device being authenticated.
Private Const DFP_SEND_DRIVE_COMMAND As Integer = &H7C084
.
Private Declare Function DeviceIoControl Lib "kernel32" (ByVal hDevice As Integer, ByVal dwIoControlCode As Integer, ByRef lpInBuffer As SENDCMDINPARAMS, ByVal nInBufferSize As Integer, ByRef lpOutBuffer As IntPtr, ByVal nOutBufferSize As Integer, ByRef lpBytesReturned As Integer, ByVal lpOverlapped As IntPtr) As Integer
.
Structure SENDCMDINPARAMS
.
Dim bDriveNumber As Byte ' Physical drive number to send command to (0,1,2,3).
.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
There is a message (WM_SETTINGCHANGE) you can send in order to notify the active windows that there has been a configuration change using the SendMessageTimeout function.
IShellBrowser is an interface exposed by Explorer, and lets an extension manipulate the Explorer window. IShellBrowser has methods to change the menu, toolbar, and status bar, as well as send generic messages to the controls in Explorer.
6/16/2012 2:09:43 PM - -80.168.147.143
IShellBrowser is an interface exposed by Explorer, and lets an extension manipulate the Explorer window. IShellBrowser has methods to change the menu, toolbar, and status bar, as well as send generic messages to the controls in Explorer.
public static extern int SendTo (IntPtr Socket, IntPtr buff, int len, SendDataFlags flags, ref SockAddr To, int tomlen);
.
public enum SendDataFlags
.
/// <summary>Sends OOB data (stream-style socket such as SOCK_STREAM only)</summary>
.
System.Net.Sockets.Socket (class) Socket.SendTo () - better to use It))
.
If no error occurs, sendto returns the total number of bytes sent, which can be less than the number indicated by len. Otherwise, a value of SOCKET_ERROR is returned, and a specific error code can be retrieved by calling WSAGetLastError.
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
TODO - a short description
4/11/2012 8:40:24 AM - -194.176.224.41
.
public enum SendDataFlags
.
/// <summary>Sends OOB data (stream-style socket such as SOCK_STREAM only)</summary>
.
System.Net.Sockets.Socket (class) Socket.SendTo () - better to use It))
.
If no error occurs, sendto returns the total number of bytes sent, which can be less than the number indicated by len. Otherwise, a value of SOCKET_ERROR is returned, and a specific error code can be retrieved by calling WSAGetLastError.