Share via


FMD_SetBlockStatus (Compact 2013)

3/26/2014

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

See Also

Reference

Flash Media Driver Functions
Flash Media Driver Reference