FSH GETVOLPARM: Difference between revisions
Appearance
Created page with "This function allows an FSD to retrieve file-system-independent and file- system-dependent data from a VPB. Since the FS router passes in a VPB handle, individual FSDs need to..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
This function allows an FSD to retrieve file-system-independent and file- system-dependent data from a VPB. Since the FS router passes in a VPB handle, individual FSDs need to map the handle into pointers to the relevant portions. | {{DISPLAYTITLE:FSH_GETVOLPARM}} | ||
This function allows an FSD to retrieve file-system-independent and file-system-dependent data from a VPB. Since the FS router passes in a VPB handle, individual FSDs need to map the handle into pointers to the relevant portions. | |||
==Syntax== | ==Syntax== | ||
FSH_GETVOLPARM(hVPB, ppVPBfsi, ppVPBfsd) | FSH_GETVOLPARM(hVPB, ppVPBfsi, ppVPBfsd) | ||
==Parameters== | ==Parameters== | ||
;hVPB: is the volume handle of interest. | ;hVPB: is the volume handle of interest. | ||
;ppVPBfsi: indicates the location where the pointer to file-system-independent data is stored. | |||
;ppVPBfsi: indicates the location where the pointer to file-system-independent data is stored. | ;ppVPBfsd: indicates the location where the pointer to file-system-dependent data is stored. | ||
==Returns== | ==Returns== | ||
There are no error returns. | |||
There are no error returns. | |||
==Calling Sequence== | ==Calling Sequence== | ||
Line 21: | Line 21: | ||
struc vpfsd far * far * ppVPBfsd; | struc vpfsd far * far * ppVPBfsd; | ||
</PRE> | </PRE> | ||
==Remarks== | ==Remarks== | ||
FSH_GETVOLPARM will not block. | FSH_GETVOLPARM will not block. | ||
;Note: OS/2 does not validate input parameters. An FSD, therefore, should call FSH_PROBEBUF where appropriate. | |||
[[Category:IFS Interfaces]] | [[Category:IFS Interfaces]] | ||
Latest revision as of 22:03, 12 February 2020
This function allows an FSD to retrieve file-system-independent and file-system-dependent data from a VPB. Since the FS router passes in a VPB handle, individual FSDs need to map the handle into pointers to the relevant portions.
Syntax
FSH_GETVOLPARM(hVPB, ppVPBfsi, ppVPBfsd)
Parameters
- hVPB
- is the volume handle of interest.
- ppVPBfsi
- indicates the location where the pointer to file-system-independent data is stored.
- ppVPBfsd
- indicates the location where the pointer to file-system-dependent data is stored.
Returns
There are no error returns.
Calling Sequence
void far pascal FSH_GETVOLPARM(hVPB, ppVPBfsi, ppVPBfsd) unsigned short hVPB; struc vpfsi far * far * ppVPBfsi; struc vpfsd far * far * ppVPBfsd;
Remarks
FSH_GETVOLPARM will not block.
- Note
- OS/2 does not validate input parameters. An FSD, therefore, should call FSH_PROBEBUF where appropriate.