CONN_USING_FILE

Defines file information for a file opened by a connection

Service:File System
Defined In:nwfile.h

Structure

   typedef struct { 
      NWCONN_NUM   connNumber ; 
      nuint16      taskNumber ; 
      nuint8       lockType ; 
      nuint8       accessControl ; 
      nuint8       lockFlag ; 
   } CONN_USING_FILE;
   

Delphi Structure

   uses calwin32 
    
    CONN_USING_FILE = Record 
       connNumber : NWCONN_NUM; 
       taskNumber : nuint16; 
       lockType : nuint8; 
       accessControl : nuint8; 
       lockFlag : nuint8 
     End;
   

Fields

connNumber

Specifies the logical connection number of a workstation using the file.

taskNumber

Specifies the number of the task which opened the file. A given connection may have several task numbers associated with the same file.

lockType

Specifies how the file is locked.

accessControl

Specifies how the file is accessed.

lockFlag

Specifies whether the file is locked.

Remarks

The lockType field can have the following values:

The accessControl field can have the following values:

The lockFlag field can have the following values: