Compartilhar via


FSDMGR_DeviceHandleToHDSK (Windows CE 5.0)

Send Feedback

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

HDSK FSDMGR_DeviceHandleToHDSK( HANDLEhDisk);

Parameters

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

Return Values

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. The HDSK value returned by FSDMGR_DeviceHandleToHDSK can be used in calls to the FSDMGR_GetRegistryValue, FSDMGR_GetRegistryString, and 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

OS Versions: Windows CE 5.0 and later.
Header: Fsdmgr.h
Link Library: Fsdmgr.lib

See Also

PD_OpenStore | FSDMGR_GetRegistryValue | FSDMGR_GetRegistryString | FSDMGR_GetRegistryFlag | FSDMGR_DiskIoControl

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.