FMD_SetBlockStatus

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function sets the status of a block.

Syntax

BOOL FMD_SetBlockStatus(
  BLOCK_ID blockID,
  DWORD dwStatus
);

Parameters

  • blockID
    [in] The block number used to set status.
  • dwStatus
    [in] The status value to set. The following table shows the flags that can be used to describe the status of the block.

    Value Description

    BLOCK_STATUS_BAD

    The block is bad.

    BLOCK_STATUS_READONLY

    The block is read-only.

    BLOCK_STATUS_RESERVED

    The block is reserved.

Return Value

Returns TRUE on success. Returns FALSE on failure.

Requirements

Header fmd.h
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Other Resources

Flash Drivers
Flash Media Driver Reference