The NetServiceInstall function is obsolete. It is included for compatability with 16-bit versions of Windows. Win32-based applications should use the service functions.
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in lmsvc.h.
Import Library: Use netapi32.lib.
Networking (Net) Overview, Net Functions