Format (0x0000)

Formats writable media.

Parameters

function
Set to 0x000 – format request
parameter0
Flag specifying the type of format:

0 = quick format (re-format)

1 = security erase (complete format)

parameter1
Not used.
parameter2
Not used.
bufferLength
Not used.
buffer
Not used.

Return Values

The following table lists return values and descriptions.

0x00000000

ERROR_NO_ERROR_FOUND

Format completed successfully.

Remarks

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