Share via


FMD_SetBlockStatus (Windows Embedded CE 6.0)

1/6/2010

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

Reference

Flash Media Driver Functions

Other Resources

Flash Drivers
Flash Media Driver Reference