The NetAccessSetInfo functions is obsolete. Win32-based applications should use the GetFileSecurity and SetFileSecurity functions.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in lmaccess.h.
Import Library: Use netapi32.lib (Windows NT) or svrapi.lib (Windows 95).
Networking (Net) Overview, Net Functions