次の方法で共有


IOCTL_FMD_SET_XIPMODE (Compact 2013)

3/26/2014

This I/O control message sets the XIP mode to either XIP or non-XIP mode. In XIP mode, the sector information is not stored along with each sector. In non-XIP mode, a FMD must store the corresponding sector information in SectorInfo for each sector. Send this message with OEMIoControl.

Syntax

BOOL OEMIoControl(
    HANDLE hDevice,           // handle to device
    DWORD dwIoControlCode,    // use IOCTL_FMD_SET_XIPMODE
    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
    OVERLAPPED lpOverlapped   // pointer to OVERLAPPED structure
);

Parameters

  • hDevice
    The handle to the block device.
  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_FMD_SET_XIPMODE for this operation.
  • lpInBuffer
    [in] Pointer to a BOOL value. Set to TRUE to set XIP mode. Set to FALSE to set non-XIP mode.
  • nInBufferSize
    [in] Size of the BOOLvalue.
  • lpOutBuffer
    [out] Set to NULL.
  • nOutBufferSize
    [out] Set to zero.
  • lpBytesReturned
    [out] Set to NULL.
  • lpOverlapped
    [in] Not used.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Requirements

Header

fmd.h

See Also

Reference

Flash Media Driver IOCTLs
Flash Media Driver Reference