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

Terms of Use
Privacy Policy

Search Results for "NetUseEnum" in [All]

netapi32

.
Summary
NetUseEnum - The NetUseEnum function lists all current connections between the local computer and resources on remote servers.
.

        internal static extern NET_API_STATUS NetUseEnum(

.

    Private Shared Function NetUseEnum( _

.

use NetApiBufferFree to release the buffer even if NetUseEnum returned an error!

.

// This code steps through the returned buffer of NetUseEnum and Marshals the buffer member to the structure

.

            NetUseEnum(null,2,ref lBuffer,0xffffffff,out lRead,out lTotal,lHandle);

.

        NetUseEnum(Nothing, 2, lBuffer, UInt32.MaxValue, lRead, lTotal, lHandle)

.
Documentation
[NetUseEnum] on MSDN

Structures

.

    /// USE_INFO_2 Struct for NetUseEnum

.

Structrue for NetUseEnum


 
Access PInvoke.net directly from VS: