Locks a file                                 

function PXNetFileLock

   (FileName         : String;            { name of file to lock            }
    LockType         : Integer): Integer; { type of lock (FL, WL, PFL, PWL) }

Errors: PXERR_FILEBUSY            3  File is busy
        PXERR_FILELOCKED          4  File is locked
        PXERR_INVLOCKCODE       106  Invalid lock code
        PXERR_NONETINIT         107  Engine not initialized with PXNetInit
        PXERR_INVFILENAME       108  Invalid file name


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .