Desktop Functions: Smart Device Functions:
|
Search Results for "send" in [All]wininet1: FtpCommand Sends the specified request to the HTTP server, allowing callers to send extra data beyond what is normally passed to HttpSendRequestEx. extern public static bool HttpSendRequest( For FTP connections, if lpszUsername is NULL, InternetConnect sends the string "anonymous" as the user name. If lpszPassword is NULL, InternetConnect attempts to use the user's e-mail name as the password.
Private Sub cmdGetPolicy_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGetPolicy.Click
Private Sub cmdSetPolicy_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSetPolicy.Click gdi326: CreateDC
private void timer1_Tick(object sender, EventArgs e)
private void Form_Paint( object p_SenderObject, System.Windows.Forms.PaintEventArgs p_Arguments ) 8: ExtFloodFill
private void button1_Click(object sender, EventArgs e) 9: GetPixel
static private void myControl_MouseMove(object sender,System.Windows.Forms.MouseEventArgs e)
private static extern int SendMessage(IntPtr hWnd, WindowsMessages wMsg, IntPtr wParam, IntPtr lParam);
//This version of SendMessage is a blocking call until all windows respond.
long result = SendMessage(HWND_BROADCAST, WindowsMessages.WM_FONTCHANGE, IntPtr.Zero, IntPtr.Zero); 11: SetPixel private void button1_Click(object sender, EventArgs e) 12: SetTextColor
private void tabControl1_DrawItem(object sender, DrawItemEventArgs e) 13: StretchBlt
private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
private void Form1_Resize(object sender, System.EventArgs e)
private void menuItem2_Click(object sender, System.EventArgs e) 14: TextOut
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Interfaces
,BINDSTATUS_SENDINGREQUEST 16: IDeskBand
Private Sub button1_Click(sender As Object, e As System.EventArgs) Handles button1.Click 17: IDeskBand2
Private Sub button1_Click(sender As Object, e As System.EventArgs) Handles button1.Click 18: IProgressDialog
/// The system does not send a message to the application when the user clicks the Cancel button. 19: IShellBrowser powrprof20: SetSuspendState
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load force: true to force the suspended mode immediately; false to cause Windows to send a suspend request to every application. hidThe HidD_SetOutputReport routine sends an output report to a top-level collection. winmm22: mciSendString
static extern Int32 mciSendString(string command, StringBuilder buffer, int bufferSize, IntPtr hwndCallback);
Private Shared Function mciSendString(ByVal command As String, ByVal buffer As StringBuilder, ByVal bufferSize As Integer, ByVal hwndCallback As IntPtr) As Integer
Declare Ansi Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal command As String, ByRef buffer As StringBuilder, ByVal bufferSize As Integer, ByVal hWndCallback As IntPtr) As Integer
mciSendString("set CDAudio door open", returnstring,127, IntPtr.Zero);
mciSendString(sCommand, null, 0, 0);
mciSendString(sCommand, null, 0, _frmObject.Handle.ToInt64());
static extern Int32 mciSendString(string command, string buffer, int bufferSize, IntPtr hwndCallback);
mciSendString("set CDAudio door open", rt, 127, IntPtr.Zero);
mciSendString("set CDAudio door closed", rt, 127, IntPtr.Zero);
mciSendString("set CDAudio door open", returnstring, 127, IntPtr.Zero)
mciSendString(sCommand, Nothing, 0, IntPtr.Zero)
mciSendString(sCommand, Nothing, 0, Me.Handle.ToInt64()) 23: PlaySound
private void button2_Click(object sender, System.EventArgs e)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 24: waveInAddBuffer Structures25: COMMCONFIG
const UInt32 PCF_RTSCTS = 0x0002; // RTS (request-to-send)/CTS (clear-to-send) supported 26: COPYDATASTRUCT The first sends an arbitrary structure (called txStruct) to another process.
public IntPtr dwData; // Any value the sender chooses. Perhaps its main window handle?
// The first field, dwData, may contain anything the sender wishes; it is the equivalent of System.Object sender in an EventHandler. C# Example 1 - send data:
// An example of sending a message containing a txStruct.
public SendMessage()
SendMessage(hWnd, WM_COPYDATA, IntPtr.Zero, copyDataBuff); 27: FAX_PRINT_INFO
public string SenderName;
public string SenderCompany;
public string SenderDept;
public string SenderBillingCode; 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. 29: KEYBDINPUT 30: MAPI
/// when reading messages and set it to empty or NULL when sending messages.
/// sender of the message.
/// A MapiRecipDesc structure contains information about a message sender or recipient.
/// 0 MAPI_ORIG Indicates the original sender of the message.
/// Pointer to the display name of the message recipient or sender.
/// Optional pointer to the recipient or sender's address; this address is provider-specific message
/// to return valid entry identifiers for all recipients or senders listed in the address book.
''' when reading messages and set it to empty or NULL when sending messages.
''' sender of the message.
''' A MapiRecipDesc structure contains information about a message sender or recipient.
''' 0 MAPI_ORIG Indicates the original sender of the message.
''' Pointer to the display name of the message recipient or sender.
''' Optional pointer to the recipient or sender's address; this address is provider-specific message
''' to return valid entry identifiers for all recipients or senders listed in the address book. 31: NCB
UCHAR ncb_sto; /* send timeout/sys timeout */ 32: NOTIFYICONDATA
/// Application-defined message identifier. The system uses this identifier to send
/// Shell_NotifyIcon. This member is only employed when using Shell_NotifyIcon to send an 33: RAWINPUTHEADER
/// <summary>Handle to the device sending the data.</summary>
''' <summary>Handle to the device sending the data.</summary> 34: ScsiPassThrough
/// Constructor for the command to send to the robot
private void Form1_Load(object sender, System.EventArgs e) 36: SHFILEOPSTRUCT 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; FileSystem.DeleteFile(path, UIOption.OnlyErrorDialogs, RecycleOption.SendToRecycleBin); 37: TITLEBARINFO private void Form_Load(object sender, System.EventArgs e) 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
' For use with the INPUT struct, see SendInput for an example advapi32
void serviceInstaller1_Committed(object sender, InstallEventArgs e)
void serviceInstaller1_Committed(object sender, InstallEventArgs e) 41: ControlService
public delegate void RegistryChangeHandler(object sender, RegistryChangeEventArgs e); 43: StartService
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click 44: TraceEvent oleacc
Private Sub Form2_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
if ( SendMessageTimeout(hWnd, nMsg, UIntPtr.Zero, IntPtr.Zero,
SendMessageTimeoutFlags.SMTO_ABORTIFHUNG, 1000, out lRes) == IntPtr.Zero ) ws2_3247: closesocket
// to close the receiving and sending functions of the socket 48: MsgFlags
/// send without using routing tables
/// partial send or recv for message xport 49: recv
public static extern int recvfrom(IntPtr Socket, IntPtr buf, int len, SendDataFlags flags, ref SockAddr from, IntPtr fromlen);
public static int recvfrom(IntPtr Socket, IntPtr buf, int len, SendDataFlags flags, ref SockAddr from) 50: send
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. 51: SendTo [DllImport("ws2_32.dll", EntryPoint="sendto")] 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. 52: shutdown
SD_SEND = 1, 53: SocketOptionName
SendBuffer = 0x1001,
SendLowWater = 0x1003,
SendTimeout = 0x1005,
/// Offset to checksum for raw IP socket send.
/// permit sending of broadcast msgs
/// send buffer size
/// send low-water mark
/// send timeout 55: WSASocket
// permit sending of broadcast msgs
// send buffer size
// send low-water mark
// send timeout cards56: CardsWrappe
private static void CurrentDomain_ProcessExit(object sender, EventArgs e)
Private Shared Sub CurrentDomain_ProcessExit(ByVal sender As Object, ByVal e As EventArgs) 57: CardsWrapper
private static void CurrentDomain_ProcessExit(object sender, EventArgs e)
Private Shared Sub CurrentDomain_ProcessExit(ByVal sender As Object, ByVal e As EventArgs) winscard58: SCardTransmit
ref SCARD_IO_REQUEST pioSendRequest,
ref byte SendBuff,
UInt32 SendBuffLen,
byte[] sendBytes = new byte[] { 0xFF, 0xCA, 0x00, 0x00, 0x00 }; //get UID command for iClass cards
int status = SCardTransmit(_hCard, ref request, ref sendBytes[0], (uint)sendBytes.Length, ref request, out receivedUID[0], ref outBytes);
byte[] pbSendBuffer = { 0xC0, 0xA4, 0x00, 0x00, 0x02, 0x3F, 0x00 }; // Example Cla,Ins,P1,P2,P3,DataIN (Select MF)
int cbSendLength=pbSendBuffer.Length;
uint errors=SCardTransmit(nCard, SCARD_PCI_T0, pbSendBuffer, cbSendLength, ioRecv, pbRecvBuffer, ref pcbRecvLength); comctl3259: ImageList_DrawEx
private static void imageList_RecreateHandle(object sender, EventArgs e)
if (imageListOverlays.TryGetValue(sender as ImageList, out vals))
NativeMethods.ImageList_SetOverlayImage(((ImageList)sender).Handle, vals[i], i + 1);
private static void imageList_RecreateHandle(object sender, EventArgs e)
if (imageListOverlays.TryGetValue(sender as ImageList, out vals))
NativeMethods.ImageList_SetOverlayImage(((ImageList)sender).Handle, vals[i], i + 1); Cut off search results after 60. Please refine your search. |