IOCTL_FMD_WRITE_RESERVED (Compact 2013)
3/26/2014
This I/O control message writes data to the reserved blocks for a specific reserved name. Send this message with OEMIoControl.
Syntax
BOOL OEMIoControl(
DWORD dwIoControlCode, // use IOCTL_FMD_WRITE_RESERVED
LPVOID lpInBuffer, // pointer to input buffer
DWORD nInBufferSize, // input buffer size
LPVOID lpOutBuffer, // pointer to output buffer
DWORD nOutBufferSize, // output buffer size
LPDWORD lpBytesReturned // number of bytes returned
);
Parameters
- dwIoControlCode
[in] Control code for the operation. Use IOCTL_FMD_WRITE_RESERVED for this operation.
- lpInBuffer
[in] Pointer to a ReservedReq structure describing the write request.
- nInBufferSize
[in] Size of the ReservedReq structure.
- lpOutBuffer
[in] Set to NULL.
- nOutBufferSize
[in] Set to zero.
- lpBytesReturned
[in] Set to NULL.
Return Values
Returns a nonzero value if successful; otherwise, returns zero.
Remarks
To get extended error information, call GetLastError. GetLastError may return other standard error messages as appropriate.
Requirements
Header |
fmd.h |
See Also
Reference
Flash Media Driver IOCTLs
ReservedReq