Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/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 DWORDvalue to which the mask must be set.
- dwSet
-
[out] DWORDmask 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 |
Windows Mobile | Windows Mobile Version 5.0 and later |