FSDMGR_DeviceHandleToHDSK (Windows Embedded CE 6.0)
1/6/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** in PD_OpenStore**.
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 |
See Also
Reference
FSDMGR Functions
FSD Functions
PD_OpenStore
FSDMGR_GetRegistryValue
FSDMGR_GetRegistryString
FSDMGR_GetRegistryFlag
FSDMGR_DiskIoControl