IFSMgr_FSDMapFHToIOREQ(
pioreq pir,
unsigned short DOSHandle
)
This service has been provided for FSDs to map a DOS handle to the corresponding FSD and IFS internal handle structures. Typically, this is used by FSDs that have applications that manipulate a file using DOS functions and then use the same handle on private services provided only by the FSD. The FSD can then use this service to convert the DOS handle to its corresponding internal file handle structures. This service works only if the provider ID of the FSD that is servicing the DOS file handle matches the provider ID that the FSD passes in as a parameter on this service.
IOREQ Structure: | |
Value | Meaning |
---|---|
ir_error | Returns 0 if success, errorcode if failure. |
ir_rh | Returns the FSD resource handle for the resource the file is on. |
ir_fh | Returns the FSD file handle for this file. |
ir_pos | Returns the current file position. |