Jump to content

FS FLUSHBUF: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:FS_FLUSHBUF}} Flushes cache buffers for a specific volume. ==Syntax== int far pascal FS_FLUSHBUF(hVPB, flag) ==Parameters== ; hVPB: is the handle to the volume..."
 
Ak120 (talk | contribs)
mNo edit summary
Line 6: Line 6:
; hVPB: is the handle to the volume for flush.
; hVPB: is the handle to the volume for flush.


; flag: is used to indicate discarding of cached data.  
; flag: is used to indicate discarding of cached data.
:: flag == 0 indicates cached data may be retained.  
::0 indicates cached data may be retained.
:: flag == 1 indicates the FSD will discard any cached data after flushing it to the specified volume.  
::1 indicates the FSD will discard any cached data after flushing it to the specified volume.
::All other values are reserved.
::All other values are reserved.


Line 19: Line 19:
   
   
  int far pascal FS_FLUSHBUF(hVPB, flag)
  int far pascal FS_FLUSHBUF(hVPB, flag)
==Remarks==
None.
[[Category:IFS]]

Revision as of 17:01, 21 May 2019

Flushes cache buffers for a specific volume.

Syntax

int far pascal FS_FLUSHBUF(hVPB, flag)

Parameters

hVPB
is the handle to the volume for flush.
flag
is used to indicate discarding of cached data.
0 indicates cached data may be retained.
1 indicates the FSD will discard any cached data after flushing it to the specified volume.
All other values are reserved.

Returns

None.

Sample

unsigned short hVPB;
unsigned short flag;

int far pascal FS_FLUSHBUF(hVPB, flag)