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 "listen" in [All]

winmm

.

When we are done listening to this playback:

Enums

.

     HttpServiceConfigIPListenList = 0,

.

     HttpServiceConfigIPListenList = 0

.

    MIB_TCP_STATE_LISTEN = 2,

.

    MIB_TCP_STATE_LISTEN = 2

.

    PipeListening = 0xc00000b3,

.

    TCP_TABLE_BASIC_LISTENER,

.

    TCP_TABLE_OWNER_PID_LISTENER,

.

    TCP_TABLE_OWNER_MODULE_LISTENER,

wtsapi32

.

        WTSListen,

.

     WTSListen,

.

    WTSListen

.

    WTSListen

.

        Case WTS_CONNECTSTATE_CLASS.WTSListen

.

        RetVal = "Listen"

.

    WTSListen,          

advapi32

.

           // The "Close()" will trigger RegNotifyChangeKeyValue if it is still listening

Structures

.
Summary
The HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM structure is used to specify an IP address to be added to or deleted from the list of IP addresses to which the HTTP service binds.
.

public struct HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM

.

Structure HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM

.
Documentation
[HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM] on MSDN
.
Summary
The HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY structure is used by HttpQueryServiceConfiguration to return a list of the Internet Protocol (IP) addresses to which the HTTP service binds.
.

struct HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY

.

Structure HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY

.
Documentation
[HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY] on MSDN
.

    TCP_TABLE_BASIC_LISTENER,

.

    TCP_TABLE_OWNER_PID_LISTENER,

.

    TCP_TABLE_OWNER_MODULE_LISTENER,

.

    TCP_TABLE_BASIC_LISTENER

.

    TCP_TABLE_OWNER_PID_LISTENER

.

    TCP_TABLE_OWNER_MODULE_LISTENER

.

  TCP_TABLE_CLASS = (TCP_TABLE_BASIC_LISTENER,TCP_TABLE_BASIC_CONNECTIONS,

.

            TCP_TABLE_BASIC_ALL,TCP_TABLE_OWNER_PID_LISTENER,

.

            TCP_TABLE_OWNER_MODULE_LISTENER,TCP_TABLE_OWNER_MODULE_CONNECTIONS,

.

TCP_TABLE_BASIC_LISTENER

.

A MIB_TCPTABLE table that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.

.

TCP_TABLE_OWNER_PID_LISTENER

.

A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.

.

TCP_TABLE_OWNER_MODULE_LISTENER

.

A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.

Constants

.

        public const int ERROR_PIPE_LISTENING = 536;

.

        /// The RPC server is already listening.

.

        public const int RPC_S_ALREADY_LISTENING = 1713;

.

        /// The RPC server is not listening.

.

        public const int RPC_S_NOT_LISTENING = 1715;

user32

.
Summary
Places the given window in the system-maintained clipboard format listener list.
.

static extern bool AddClipboardFormatListener(IntPtr hwnd);

.

Public Function AddClipboardFormatListener(hWnd As IntPtr) As <MarshalAs(UnmanagedType.Bool)>Boolean

.

Declare Function AddClipboardFormatListener Lib "user32.dll" (hWnd As Long) As Boolean

.
Documentation
[AddClipboardFormatListener] on MSDN
.

                keyBuffer += Enum.GetName(typeof(Keys), i) + " ";//this is WinAPI listener of the keys

.

  static extern bool RemoveClipboardFormatListener(IntPtr hwnd);

.

  Public Function RemoveClipboardFormatListener(hWnd As IntPtr) As <MarshalAs(UnmanagedType.Bool)>Boolean

.
Documentation
[RemoveClipboardFormatListener] on MSDN

kernel32

.

    ///         2. Call Listen().  This will block until a client connects.  Sorry, the alternatives

.

    ///         4. Call Listen() again to wait for the next client.

.

    ///         to support multiple clients, multiple calls to Create()/Listen() in separate threads is the

.

    public bool Listen()

.

        throw new Exception("Listen() is only for server-side streams");

.

    /// Server only: disconnect the pipe.  For most applications, you should just call Listen()

.

    /// Returns true if client is connected.  Should only be called after Listen() succeeds.

.

        Console.WriteLine("Listening...");

.

            stream.Listen();

.

    TextWriterTraceListener ConsoleListener = new TextWriterTraceListener(System.Console.Out);

.

    Trace.Listeners.Add(ConsoleListener);

Interfaces

.

// Connection Sink for listening to collection changes

httpapi

.

HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM

.
HttpServiceConfigIPListenList HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM structure.
.

HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY

.
HttpServiceConfigIPListenList No input data; set to NULL.
.
HttpServiceConfigIPListenList HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY structure.
.

HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM

.
HttpServiceConfigIPListenList HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM structure.
.

        HttpServiceConfigIPListenList = 0,

.

    public struct HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM

ws2_32

22: bind
.
Remarks
The bind function is used on an unconnected socket before subsequent calls to the connect or listen functions. It is not neccessary to use bind for connect(), but is required for listen(). This binding process is performed by the connect() function implicitly.
.

    public static extern int listen(IntPtr s, int backlog);

.

Declare Function listen Lib "ws2_32.dll" (TODO) As TODO

.
Documentation
[listen] on MSDN
.

        /// socket has had listen()

.

        // socket has had listen()  

iphlpapi

.

When you do not need the PID information look at: IPGlobalProperties.GetActiveTcpListeners Method from the System.Net.NetworkInformation namespace

.

(Msdn: http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ipglobalproperties.getactivetcplisteners.aspx)

.

      TCP_TABLE_BASIC_LISTENER,

.

      TCP_TABLE_OWNER_PID_LISTENER,

.

      TCP_TABLE_OWNER_MODULE_LISTENER,

.

      MIB_TCP_STATE_LISTEN,

.

    $StateList=@("UNKNOWN","CLOSED","LISTEN","SYN-SENT","SYN-RECEIVED","ESTABLISHED","FIN-WAIT-1","FIN-WAIT-2","CLOSE-WAIT","CLOSING","LAST-ACK","TIME-WAIT","DELETE-TCB")

shell32

.

On a German System the Playlists-Folder is called "Musikwiedergabelisten", but you will get "Playlists"


 
Access PInvoke.net directly from VS: