The Microsoft® NetMeeting™ SDK contains a vast amount of information that you can use to add conferencing functionality to your application. The following sections guide you through the download and installation procedures.
Downloading the NetMeeting SDK
Enabling Application Sharing on Windows NT 4.0
Disabling the NetMeeting Wizard
The Microsoft® NetMeeting™ SDK, as well as NetMeeting 2.1, can be downloaded for free from the NetMeeting web site.
For your convenience, the NetMeeting SDK download file is also available through FTP at ftp://ftp.microsoft.com/developr/msdn/netmtg/.
The Microsoft® Internet Client SDK is available for free download at the Internet Client SDK site. If you have already installed the Internet Client SDK, you will find the NetMeeting SDK in the \inetsdk\bin folder. Double-click the Nm21sdk.exe file to install the NetMeeting SDK on your computer.
To install, or re-install, the NetMeeting SDK, execute the Nm21sdk.exe self-extracting installation program. This .exe was created for Windows NT 4.0 and Windows 95. It will copy the SDK to a directory you specify. It will also place shortcuts to this directory, to the Microsoft NetMeeting 2.1 API documentation, and to the Readme.txt file in your Programs folder on the Start menu.
Note that if you install on Microsoft® Windows NT® 4.0 and you do not have administrator privileges, no items will be added to the Programs folder of the Start pop-up menu.
To use this SDK you will also need the final version of NetMeeting 2.1. This version of NetMeeting is available at Microsoft's NetMeeting home page.
Note Do not install the NetMeeting 1.0 or 1.0a SDK on a machine that has NetMeeting 2.0 or 2.1. If you do, you will be required to re-install NetMeeting 2.1 before you can use it again.
By default, application sharing is not enabled on Windows NT. To enable application sharing automatically (without using the NetMeeting user interface) you must have NT 4.0 Service Pack 3 installed and follow the instructions below.
The NMInstallNTDisplayDriver method along with the Setupdd.dll file, downloaded into the \redistrb directory of your NetMeeting SDK folder, can be used to enable application sharing on Windows NT. You should install and use Setupdd.dll only on Windows NT 4.0 with Service Pack 3. Enabling application sharing is not necessary on Windows 95 and will not work on earlier versions of Windows NT.
BOOL DECLSPEC_IMPORT WINAPI NMInstallNTDisplayDriver(
HWND hWnd);
Installs the NetMeeting display driver used for Windows NT.
TRUE | The driver was successfully installed. In this event case, the calling application should prompt the user to restart the system for the changes to take effect. |
FALSE | The driver was not installed successfully. This may result if this version of the operating system does not support this driver or if an error occurs during installation. |
This driver requires Windows NT 4.0 Service Pack 3 or later. Therefore, the calling application should ascertain (by using the Windows routine GetVersionEx, for example) the Windows version before calling this function.
NetMeeting must already be installed on the system for this function to work.
This function does not detect whether or not the display driver is already installed and enabled. Therefore, the calling application should confirm the absence of the driver before calling this function.
A reboot is necessary after enabling application sharing. The calling application is responsible for prompting the user to reboot.
The NetMeeting setup EXE recognizes some command line parameters that developers can use to customize automated setup of NetMeeting within their own application installation procedures. These parameters allow developers to control how the NetMeeting setup program is displayed to the user.
Here are some switches you can use when installing NetMeeting 2.1 as part of your own application:
/Q | Installs without showing any user interface. Bypasses all prompts, error messages, and file extraction animation. Usually used when one setup routine launches another. |
/Q:1 | Bypasses all prompts except file extraction animation and error messages. |
/Q:A | Assumes the user running the application is an administrator and does not check for administration rights or disk space. Bypasses all prompts and errors. |
/Q:U | Bypasses extraction animations, but still checks for disk space and administration rights. Assumes the user is an end user. |
/C | Extracts files only; doesn't run the install portion. |
/C:"command" | Overrides the install command with an INF or EXE defined by the author. |
/N:[eg] | Wextract skips various portions of the installation process. |
e: Wextract skips the file extraction process. | |
g: The group converter (Grpconv.exe) does not launch. | |
/R | Forces restart after install. |
/T:"path" | Specifies the temporary working folder for decompressed files. |
/? | Describes list of possible switches. |
The "/C:" switch allows you to specify another INF file that NetMeeting will use during the setup process. The INF file tells NetMeeting what to do during setup and also identifies the keys that should be added to the registry.
When running NetMeeting for the first time, a wizard normally appears to collect data from the new user. To prevent this wizard from running for an application in No-UI mode (NM_INIT_CONTROL), the following set of system properties must be set with the uProp variable in the INmSysInfo::SetProperty method:
NM_SYSPROP_EMAIL_NAME |
NM_SYSPROP_SERVER_NAME |
NM_SYSPROP_RESOLVE_NAME |
NM_SYSPROP_FIRST_NAME |
NM_SYSPROP_LAST_NAME |
NM_SYSPROP_USER_NAME |
NM_SYSPROP_USER_CITY |
NM_SYSPROP_USER_COUNTRY |
NM_SYSPROP_USER_COMMENTS |
NM_SYSPROP_USER_CATEGORY |
Last Updated: November 1, 1997
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.