FSDMGR_GetRegistryFlag (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Parameters

  • hDsk
    [in] Handle to the disk.
  • szValueName
    [in] Name of the value to retrieve.
  • pdwFlag
    [out] Pointer to a DWORD value to which the mask must be set.
  • dwSet
    [out] DWORD mask that is set based on the value read.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header fsdmgr.h
Library Fsdmgr.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

FSDMGR Functions
FSD Functions
FSDMGR_GetRegistryString
FSDMGR_GetRegistryValue
FSDMGR_RegisterVolume