Provider Type and Version

WNNC_NET_TYPE

Returns a DWORD value: the high word contains the network type, and the low word may contain a subtype. The following Net Type values are assigned:

WNNC_NET_MSNET
WNNC_NET_LANMAN
WNNC_NET_NETWARE
WNNC_NET_VINES
WNNC_NET_10NET
WNNC_NET_LOCUS
WNNC_NET_SUN_PC_NFS
WNNC_NET_LANSTEP
WNNC_NET_9TILES
WNNC_NET_LANTASTIC
WNNC_NET_AS400
WNNC_NET_FTP_NFS
WNNC_NET_PATHWORKS
WNNC_NET_LIFENET
WNNC_NET_POWERLAN

Vendors working on new networks should register their network type values with Microsoft.

WNNC_DRIVER_VERSION

Returns the provider version number.

Note: to assist in common versioning conventions for providers, the following macro is provided:

#define WNNC_DRIVER(major,minor) (major*WNNC_DRIVER_MAJOR1 + minor*WNNC_DRIVER_MINOR1)