MM_FORMAT_MEDIA

Formats writable media.

Parameters

handle
The handle of the object related to the logical media being formatted.
function
Set to MM_FORMAT_MEDIA.
parameter1
Indicates the operation to perform:

0 = quick format (re-format)

1 = security erase (complete format)

parameter2
Reserved. Set to zero.
parameter3
Reserved. Set to zero.
bufferLen
Set to zero.
buffer
Set to zero.
returnParameter
Not used.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

Format completed successfully.

Remarks

It implies to the Media Manager that the media is new media. The media ID is implied by the object handle used.