Share via


FSDMGR_GetRegistryFlag

This function is called by the FSD to read a flag based on a value from the registry. It is a helper function provided so that the 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

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.