Share via


FSDMGR_DeviceHandleToHDSK

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function converts a true device handle into an HDSK for use in subsequent calls to the FSDMGR helper functions.

Syntax

HDSK FSDMGR_DeviceHandleToHDSK(
  HANDLE hDisk
);

Parameters

  • hDisk
    [in] Handle of a disk device, passed to the partition driver**.

Return Value

A non-NULL value indicates success. NULL indicates failure.

Remarks

This function gives partition drivers access to the FSDMGR helper functions normally used by file system drivers (FSDs). The HDSK value returned by this function can be used in calls to the FSDMGR_GetRegistryValue, the FSDMGR_GetRegistryString, and the FSDMGR_GetRegistryFlag functions to read values from the registry associated with a partition driver. The HDSK value can also be used to perform disk I/O using the FSDMGR_DiskIoControl function.

Requirements

Header fsdmgr.h
Library Fsdmgr.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FSD Functions
FSDMGR_GetRegistryValue
FSDMGR_GetRegistryString
FSDMGR_GetRegistryFlag
FSDMGR_DiskIoControl

Other Resources