Jump to content

FS FLUSHBUF: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:FS_FLUSHBUF}}
{{DISPLAYTITLE:FS_FLUSHBUF}}
Flushes cache buffers for a specific volume.
Flushes cache buffers for a specific volume.
==Syntax==
==Syntax==
  int far pascal FS_FLUSHBUF(hVPB, flag)
  int far pascal FS_FLUSHBUF(hVPB, flag)
==Parameters==
==Parameters==
; 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.
::0 indicates cached data may be retained.
::0 indicates cached data may be retained.
::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.
Line 19: Line 20:
   
   
  int far pascal FS_FLUSHBUF(hVPB, flag)
  int far pascal FS_FLUSHBUF(hVPB, flag)
[[Category:IFS Interfaces]]

Latest revision as of 05:50, 17 February 2020

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)