[Toc][Index]

FS_CANCELLOCKREQUESTL - Cancel file record lock request

  
Purpose   
Cancels an outstanding FS_FILELOCKSL request on a file. Version for a 
64-bit file position. 
Calling Sequence   

int far pascal FS_CANCELLOCKREQUESTL(psffsi, psffsd, pLockRange)

struct sffsi far * psffsi;
struct sffsd far * psffsd;
struct filelockl far * pLockRange;


Where   
psffsi is a pointer to the file-system-independent portion of an open file 
instance. 
psffsd is a pointer to the file-system-dependent portion of an open file 
instance. 
pLockRange is a pointer to a filelock structure. The filelock structure 
has the following format: 

struct filelockl {
    long long FileOffset;   /* offset where the lock/unlock begins  */
    long long RangeLength;  /* length of region locked/unlocked     */
}


Remarks   
This entry point was added to support the 32-bit DosCancelLockRequest API 
. 
This function provides a simple mechanism for canceling the lock range 
request of an outstanding FS_FILELOCKSL call. If two threads in a process 
are blocked on a lock range and a cancel request is issued by another 
thread, both blocked threads will be released.   

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs