Share via


LoadFSDEx

This function is called by a device driver to load its associated file system driver (FSD).

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.
  • dwFlag
    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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.12 and later Winbase.h   Device.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

LoadFSD, RegisterDevice

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.