PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Get/SetEditorObject: RQ_FILE... Requests
                                             Up Contents Index Back
─────PWB Extensions─────────────────────────────────────────────────────────
 
     The GetEditorObject and SetEditorObject RQ_FILE requests return or
     modify information about, or derived from, the list of files open
     in the current window. This list is known as the 'file history' for
     the window.
 
     The <info> and <qual> arguments specify the type of information to
     return or modify and any additional data needed to fulfill the
     request. The <pDest> argument is the address of a variable for the
     information.
 
     <info>                 <qual>   <pDest>
 
     RQ_FILE_HANDLE         0        Handle of current file (get only)
     RQ_FILE_HANDLE|<n>     0        Handle of file <n>  (get only)
 
     RQ_FILE_NAME           0        Name of current file
     RQ_FILE_NAME|<n>       0        Name of file <n>
     RQ_FILE_NAME|0xff      PFILE    Name of PFILE
 
     RQ_FILE_FLAGS          0        Flags byte for current file
     RQ_FILE_FLAGS|<n>      0        Flags byte for file <n>
     RQ_FILE_FLAGS|0xff     PFILE    Flags byte for PFILE
 
     RQ_FILE_REFCNT                  Reference count for current file
     RQ_FILE_REFCNT|<n>     0        Reference count for file <n>
     RQ_FILE_REFCNT|0xff    PFILE    Reference count for PFILE
 
     RQ_FILE_FREEZE                  Freeze count for file
     RQ_FILE_FREEZE|<n>     0        Freeze count for file <n>
     RQ_FILE_FREEZE|0xff    PFILE    Freeze count for PFILE
 
     For information connected with the list of all files open in PWB,
     use the RQ_ALLFILE requests.
     See: Get/SetEditorObject: RQ_ALLFILE... Requests
 
     NOTE: You can rename disk files, but not pseudofiles, with
           SetEditorObject and RQ_FILE_NAME.
                                    -♦-