This function is called by a device driver to load its associated file system driver (FSD).
At A Glance
| Header file: | Winbase.h | 
| Versions: | 2.12 and later | 
Syntax
BOOL LoadFSDEx (HANDLE hDevice, LPCWSTR lpFSDName, 
DWORD dwflag);
Parameters
hDevice
Handle to a registered device, which can be obtained with a call to the RegisterDevice function.
lpFSDName
Pointer to the name of the FSD to load.
dwFlags
Specifies the options that effect the loading of a file system. The dwFlags parameter must be set to one of the following values:
| Value | Description | 
| LOADFSD_ASYNCH | Loads a file system driver asynchronously. Specifying this value is the same as calling the LoadFSD function. | 
| LOADFSD_SYNCH | Loads a file system driver synchronously. | 
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
When a file system is loaded synchronously there is the potential for dead locks to occur. Use caution when using the synchronous loading process.