LoadFSDEx (Windows CE 5.0)
This function is called by a device driver to load its associated FSD. This function is obsolete as of Windows CE 4.0. Instead, place a storage class identifier in the device driver registry setting to notify the Storage Manager of the block driver being loaded. The Storage Manager will then parse the partitions and load the appropriate file system.
BOOL LoadFSDEx(HANDLE hDevice, LPCWSTR lpFSDName, DWORD dwFlag);
Parameters
- hDevice
[in] Handle to a registered device, which can be obtained with a call to the ActivateDeviceEx function. - lpFSDName
[in] Pointer to the name of the FSD to load. - dwFlag
[in] Options that effect the loading of a file system. The following table shows the possible values for dwFlags.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.
Requirements
OS Versions: Windows CE 2.12 through 3.1.
Header: Winbase.h.
Link Library: Device.lib.
See Also
Send Feedback on this topic to the authors