Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Paradox Engine 3.0 for C - <b>syntax:</b> int pxnetinit(char *netnamepath, int nettype, char *username) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: int PXNetInit(char *netNamePath, int netType, char *userName)

Args: netNamePath - full path name of directory containing the network
                        control file.
      netType     - type of network being inititalized:
                    LOCALSHARE : share local and remote files
                    NETSHARE   : share remote files only
                    NOSHARE    : share nothing
                    PX35LOCKING: use Paradox 3.5 locking
                    PX40LOCKING: use Paradox 4.0 locking
      userName    - the user name or null for current network user

                    may not apply to all network types.

Returns: PXSUCCESS or error number

Synopsis:  Initializes the Engine for use on a network or on systems
   that permit multi-tasking (Windows).  This is necessary if file or
   record locking is to be used.

   The netType parameter specifies both the scope and the type of
   locking to be used. For example NETSHARE|PX40LOCKING specifies Paradox
   4.0 style locking for files on the network drive.

See Also: Example PXInit PXWinInit

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson