Back to the WFC main page
CNetworkConnections : CNetwork
$Revision: 23 $
Description
This class allows you to enumerate the network connections.
Constructors
CNetworkConnections()
CNetworkConnections( LPCTSTR machine_name )
-
Constructs the object.
Data Members
None.
Methods
void Close( void )
-
Closes the connection to the machine.
BOOL Enumerate( LPCTSTR share_or_computer_name )
-
Initializes the object for enumeration.
BOOL GetNext( CNetworkConnectionInformation& information )
-
Retrieves the next set of connection information.
void Serialize( CArchive& archive )
-
After all we are a CObject...
Example
Sorry.
API's Used
CNetworkConnections uses the following API's:
- NetApiBufferFree
- NetConnectionEnum
Copyright, 2000, Samuel R. Blackburn
$Workfile: cnetconn.cpp $
$Modtime: 1/04/00 5:15a $