IFSMgr_RegisterCFSD
IFSMgr_RegisterCFSD(
pIFSFunc pfunc,
unsigned long FSD_IFS_Version,
string_t * ppDeviceNames
)
An FSD that emulates a character device registers with the IFS manager by calling this service. If the version number passed in matches, the FSD will be registered for the list of character devices it requests for. Whenever a file system call is made to the character device name, the appropriate FSD will be called on its function entry points.
- pfunc
- Supplies a pointer to the FSD mount entry point. (FS_MountVolume)
- FSD_IFS_Version
- Supplies version of the IFS manager the FSD can support.
- ppDeviceNames
- Supplies a pointer to a set of pointers to unicode device name strings that need to be registered as character devices with the IFS manager. The list of pointers to device name strings is terminated by a NULL. There has to be at least one device name pointer. Each device name string is in unicode and has the format of a PathElement structure that has already been described in section 8.3.1.
- Returns the provider ID ( -1 if error ) which can be used by FSDs to identify certain special requests hooked by them.