FS FSINFO: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:FS_FSINFO}} Returns or sets information for a file system device. ==Syntax== int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level) ==Parameters== flag in..." |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:FS_FSINFO}} | {{DISPLAYTITLE:FS_FSINFO}} | ||
Returns or sets information for a file system device. | Returns or sets information for a file system device. | ||
==Syntax== | ==Syntax== | ||
int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level) | int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level) | ||
==Parameters== | ==Parameters== | ||
flag indicates retrieval or setting of information. | ;flag:indicates retrieval or setting of information. | ||
::0 indicates retrieving information. | |||
::1 indicates setting information on the media. | |||
:All other values are reserved. | |||
All other values are reserved. | ;hVPB: is the handle to the volume of interest. | ||
;pData: is the address of the application output data area. | |||
; hVPB: is the handle to the volume of interest. | :Addressing of this data area has not been validated by the kernel (see FSH_PROBEBUF). | ||
;cbData: is the length of the application data area. | |||
; pData: is the address of the application output 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. | |||
Addressing of this data area has not been validated by the kernel (see | :: Level selects among a series of structures of data to be returned or set. See [[DosQFSInfo]] and [[DosSetFSInfo]] for information. | ||
; 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: | |||
:: Level selects among a series of structures of data to be returned or set. See DosQFSInfo and DosSetFSInfo for information. | |||
==Returns== | ==Returns== | ||
Line 34: | Line 28: | ||
int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level) | int far pascal FS_FSINFO(flag, hVPB, pData, cbData, level) | ||
[[Category:IFS Interfaces]] | |||
[[Category:IFS]] |
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)