Random Write Once
(0x0022)
Performs one write to any part of the media in a device.
Parameters
- function
- 0x0022 – write once request.
- parameter0
- Specifies the number of units to be written.
- parameter1
- Specifies the logical unit number of the beginning
unit.
- parameter2
- Not used.
- bufferLength
- The size of the buffer (that is, the number of units
multiplied by the unit size) in bytes, or the number of elements
in the scatter/gather buffer.
- buffer
- Points to a buffer in memory were the data is written
from.