Compartilhar via


FSDMGR_GetRegistryFlag (Windows CE 5.0)

Send Feedback

This function is called by an FSD to read a flag based on a value from the registry. It is a helper function provided so that an FSD does not need to know the actual registry key that was used to invoke it. If the value read is 1, then the value returned is modified based on the mask specified.

BOOL FSDMGR_GetRegistryFlag( HDSK hDsk, PCTSTR szValueName,PDWORD pdwFlag,DWORD dwSet);

Parameters

  • hDsk
    [in] Handle to the disk, though not a true Microsoft Win32 handle.
  • szValueName
    [in] Name of the value to retrieve.
  • pdwFlag
    [out] Pointer to a DWORD value where the mask needs to be set.
  • dwSet
    [out] DWORD mask that is used to set based on the value read.

Return Values

Returns TRUE, if successful; otherwise, returns FALSE.

Requirements

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

See Also

FSDMGR_GetRegistryString | FSDMGR_GetRegistryValue | FSDMGR_RegisterVolume

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.