BINDVIEW: Network Configuration/Installation Sample

[This is preliminary documentation and subject to change.]

SUMMARY

This sample demonstrates how to use of INetCfg APIs to enumerate, install, uninstall, bind and unbind network components.

The sample compiles properly for 64-bit, builds properly with Microsoft® Visual C® 6.0.

BUILDING THE SAMPLE

To build the sample, type build. This command produces the binary bindview.exe.

INSTALLING THE SAMPLE

Copy the binary bindview.exe to the directory from where you want to run the sample.

RUNNING THE SAMPLE

Type bindview.exe at the command prompt to run the program. You can perform the following operations.

 

CODE TOUR

File Manifest

File           Description
BINDVIEW.CPP   Contains WinMain and dialog box related functions.
NetCfgAPI.cpp  Contains INetCfg functions.
BINDING.CPP    Contains binding path related functions. 
Component.cpp  Contains network component related functions.
RESOURCE.H     Resource header.
BINDVIEW.H     Contains function prototypes.
NetCfgAPI.h    Contains function prototypes for NetCfgAPI.cpp
BindView.rc    Resources for Bindview
BindView.ico   Icon for the sample.
 
 
 

Top of page

 

© Microsoft Corporation 1999