Compartilhar via


IOCTL_FMD_GET_RESERVED_TABLE (Compact 2013)

3/26/2014

This I/O control message returns the reserved table, specifying locations of reserved regions. Send this message with OEMIoControl.

Syntax

BOOL OEMIoControl(
    DWORD dwIoControlCode,    // use IOCTL_FMD_GET_RESERVED_TABLE
    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_GET_RESERVED_TABLE for this operation.
  • lpInBuffer
    [in] Set to NULL.
  • nInBufferSize
    [in] Set to zero.
  • lpOutBuffer
    [out] Pointer to a buffer that contains the reserved table. Set to NULL to retrieve only the size of the buffer.
  • nOutBufferSize
    [in] Set to the size of lpOutBuffer, in bytes.
  • lpBytesReturned
    [out] The number of bytes of the reserved table.

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

Other Resources

GetLastError