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
Download Visual Studio Add-In

Search Results for "send" in [All]

kernel32

.

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

.

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

.

private void shutdownToolStripMenuItem_Click(object sender, EventArgs e)

.

     DiskSmartSendDriveCommand = (EFileDevice.Disk << 16) | (0x0021 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14),

.

   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

.

       Dim SCIP As SENDCMDINPARAMS

.

    CLRRTS = 4, //Clears the RTS (request-to-send) signal.

.

    SETDTR = 5, //Sends the DTR (data-terminal-ready) signal.

.

    SETRTS = 3, //Sends the RTS (request-to-send) signal.

.

    // watching for CTS (Clear To Send)

.

    void watchdog_Tick(object sender, EventArgs e)

.

    private void cmdTest_Click(object sender, EventArgs e)

.

    protected void Page_Load(pbject sender, EventArgs e)

.

    public byte   ncb_sto;        /* send timeout/sys timeout       */

.

Sends a string to the debugger for display.

.

If you need a more accurate break time, you could lower the baud rate, send

.

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.

.

Sending NULL to lpData and 0 to cbData will delete the file indicated by hUpdate.

.

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click

opengl32

.

    public static extern void gluTessEndContour(IntPtr tess);

.

    public static extern void gluTessEndPolygon(IntPtr tess);

wininet

.
Summary
Sends commands directly to an FTP server.
.

lpszCommand (in) A pointer to a string that contains the command to send to the FTP server.

.

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(

.
Documentation
[HttpSendRequest] on MSDN
.

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

dhcpsapi

.

            PingReply result = ping1.Send(rowReader["IP_address"].ToString(), 1000);

winfax

.

static extern bool FaxSendDocumentForBroadcast (IntPtr FaxHandle,

.

Declare Function FaxSendDocumentForBroadcast Lib "winfax.dll" (TODO) As TODO

.
Documentation
[FaxSendDocumentForBroadcast] on MSDN
.

    public String SenderName;

.

    public String SenderCompany;

.

    public String SenderDept;

.

    public String SenderBillingCode;

Interfaces

.

    ,BINDSTATUS_SENDINGREQUEST

.

    Private Sub button1_Click(sender As Object, e As System.EventArgs) Handles button1.Click

.

    Private Sub button1_Click(sender As Object, e As System.EventArgs) Handles button1.Click

.

        /// The system does not send a message to the application when the user clicks the Cancel button.

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

    void SendControlMsg(UInt32 id, UInt32 uMsg, UInt32 wParam, UInt32 lParam, IntPtr pret);

gsapi

.

    private void button1_Click(object sender, EventArgs e)

.

    private void button1_Click(object sender, EventArgs e)

.

   private void button1_Click(object sender, EventArgs e)

cards

.

        private static void CurrentDomain_ProcessExit(object sender, EventArgs e)

.

    Private Shared Sub CurrentDomain_ProcessExit(ByVal sender As Object, ByVal e As EventArgs)

.

        private static void CurrentDomain_ProcessExit(object sender, EventArgs e)

.

    Private Shared Sub CurrentDomain_ProcessExit(ByVal sender As Object, ByVal e As EventArgs)

shlwapi

.

    Private Sub pathFromUrlButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pathFromUrlButton.Click

.

    Private Sub urlFromPathButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles urlFromPathButton.Click

ws2_32

.

    // to close the receiving and sending functions of the socket

.

        /// send without using routing tables

.

        /// partial send or recv for message xport

39: 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)

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

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

.

        SD_SEND = 1,

.

        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

.

        // permit sending of broadcast msgs  

.

        // send buffer size  

.

        // send low-water mark  

.

        // send timeout  

iphlpapi

.

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

.

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

.
Summary
Send ARP message to a Network Card in the LAN
.

  public static extern int SendARP(

.

  Declare Function SendARP Lib "iphlpapi.dll" (

.

SendARP returns 0 on success. The parameter SrcIP can be 0.

.

    SendARP(CType(addr.Address, UInt32), 0, mac, len)

.

int retValue = SendARP(uintAddress, 0, macAddr, ref macAddrLen);

.

    throw new Win32Exception(retValue, "SendARP failed.");

.
Documentation
[SendARP] on MSDN
.

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click

shell32

50: CSIDL
.

            CSIDL_SENDTO            = 0x0009,    // <user name>\SendTo

51: CSIDL
.

        /// The file system directory that contains Send To menu items. A typical path is C:\Documents and Settings\username\SendTo.

.

        CSIDL_SENDTO = 0x0009,

.

    private void btnBrowse_Click(object sender, EventArgs e)

.

private void fileSystemWatcher_Renamed(object sender, RenamedEventArgs e)

.

private void fileSystemWatcher_Deleted(object sender, FileSystemEventArgs e)

.

private void fileSystemWatcher_Created(object sender, FileSystemEventArgs e)

.

private void mnuDynamic_Click(object sender, System.EventArgs e)

.

    MenuItem theMenuItem = (MenuItem) sender;

.

///     Sends an appbar message to the system.

.

///     C++ ( dwMessage [in] Type: DWORD )<br />Appbar message value to send. This parameter can be one of the following

.

///         send notification messages to the appbar.

.

    Private Overloads Sub OnLoad(ByVal sender As Object, ByVal e As System.EventArgs)

.

    Private Overloads Sub OnClosing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs)

.

        // Constants for sending and receiving messages in BrowseCallBackProc

.

        public static extern IntPtr SendMessage(HandleRef hWnd, uint Msg, int wParam, IntPtr lParam);

.

        public static extern IntPtr SendMessage(HandleRef hWnd, int msg, int wParam, string lParam);

.

                //Win32.SendMessage(new HandleRef(null, hWnd), BFFM_SETSELECTIONA, 1, lpData);

.

                SendMessage(new HandleRef(null, hWnd), BFFM_SETSELECTIONW, 1, _initialPath);

.

                SendMessage(new HandleRef(null, hWnd), BFFM_SETSTATUSTEXTW, 0, pathPtr);

.

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;

.

        CSIDL_SENDTO          = 0x0009,    // <user name>\SendTo

.

    public static readonly Guid SendTo = new Guid( "8983036C-27C0-404B-8F08-102D10DCFD74" );

.

    SENDTO = &H9

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


 
Access PInvoke.net directly from VS: