Back to the WFC main page
CNetworkConnectionInformation : CObject
$Revision: 9 $
Description
This class allows you to enumerate the network connections.
Constructors
CNetworkConnectionInformation()
CNetworkConnectionInformation( 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: CNetworkConnectionInformation.cpp $
$Modtime: 1/04/00 5:16a $