Partager via


LoadFSDEx (Windows Embedded CE 6.0)

1/6/2010

This function is called by a device driver to load its associated file system driver (FSD). This function is obsolete. Instead, place a storage class identifier in the device driver registry setting to notify Storage Manager of the block driver being loaded. Storage Manager then parses the partitions and loads the appropriate file system.

Note

This function is obsolete as of Windows CE .NET 4.0.

Syntax

BOOL LoadFSDEx(
  HANDLE hDevice, 
  LPCWSTR lpFSDName, 
  DWORD dwFlag
);

Parameters

  • hDevice
    [in] Handle to a registered device that can be obtained with 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 possible values.

    Value Description

    LOADFSD_ASYNCH

    Loads an FSD asynchronously. Specifying this value is the same as calling the LoadFSD function.

    LOADFSD_SYNCH

    Loads an FSD synchronously.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

When a file system is loaded synchronously, deadlocks can occur. Use caution when using the synchronous loading process.

Requirements

Header winbase.h
Library Device.lib
Windows Embedded CE Windows CE 2.12 through Windows CE 3.1

See Also

Reference

FSD Functions

Concepts

Storage Management