EraseCluster Function

Microchip MDD File System Interface

MDDFS Interface Library Help
EraseCluster Function
C
BYTE EraseCluster(
    DISK * disk, 
    DWORD cluster
);
Description

The EraseCluster function will write a 0 value into every byte of the specified cluster.

Preconditions

This function should not be called by the user.

Parameters
Parameters 
Description 
dsk 
Disk structure 
cluster 
Cluster to be erased 
Return Values
Return Values 
Description 
CE_GOOD 
File closed successfully 
CE_WRITE_ERROR 
Could not write to the sector 
Side Effects

None

Remarks

None.

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.