NetworkAddConnection connects a local device name to a remote network resource.

#include <nwiapi.h>

PSZ      ComputerName;
PSZ      ResourceName;
PSZ      ConnectName;
ULONG    flType;        /*  A bit array indicating the type of resource. All other bits are reserved and must be 0. 
  Resource   type   bit   mask   definitions :   * /
ULONG      ulreturns ;

ulreturns   =   NetworkAddConnection ( ComputerName ,
                ResourceName ,   ConnectName ,   flType ) ;


[Back: NetworkAddConnection]
[Next: NetworkAddConnection Parameter - ComputerName]