Partager via


FMD_SetBlockStatus (Windows CE 5.0)

Send Feedback

This function sets the status of a block.

BOOL FMD_SetBlockStatus(BLOCK_IDblockID,DWORDdwStatus);

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 Values

Returns TRUE on success. Returns FALSE on failure.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Fmd.h.
Link Library: Developer implemented.

See Also

Flash Media Drivers | Flash Media Driver Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.