FMD_SetBlockStatus

This function sets the status of a block.

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 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 Driver

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.