Jump to content

FS FSINFO: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
 
Line 27: Line 27:
   
   
  int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level)
  int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level)
[[Category:IFS Interfaces]]

Latest revision as of 21:27, 20 November 2019

Returns or sets information for a file system device.

Syntax

int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level)

Parameters

flag
indicates retrieval or setting of information.
0 indicates retrieving information.
1 indicates setting information on the media.
All other values are reserved.
hVPB
is the handle to the volume of interest.
pData
is the address of the application output data area.
Addressing of this data area has not been validated by the kernel (see FSH_PROBEBUF).
cbData
is the length of the application data area.
For flag == 0, this is the length of the data the application wishes to retrieve. If there is not enough room for the entire level of data to be returned, the FSD will return a BUFFER OVERFLOW error. For flag == 1, this is the length of the data to be sent to the file system.
level
is the information level to be returned.
Level selects among a series of structures of data to be returned or set. See DosQFSInfo and DosSetFSInfo for information.

Returns

None.

Sample

unsigned short flag;unsigned short hVPB;
char far * pData;unsigned short cbData;
unsigned short level;

int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level)