Share via


IOCTL_SD_BUS_DRIVER_SLOT_CARD_DESELECT (Compact 2013)

3/26/2014

This I/O control message deselects a secure digital (SD) card, multimedia card (MMC), secure digital input output (SDIO) card, Combo card, or Multifunction card. Send this message with DeviceIoControl.

Syntax

BOOL DeviceIoControl(
    HANDLE hDevice,           // handle to device
    DWORD dwIoControlCode,    // use IOCTL_SD_BUS_DRIVER_SLOT_CARD_DESELECT
    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 bus driver.
  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_SD_BUS_DRIVER_SLOT_CARD_DESELECT for this operation.
  • lpInBuffer
    [in] Pointer to a DWORD variable that indicates the slot to deselect.
  • nInBufferSize
    [in] Size of the DWORD pointed to by lpInBuffer.
  • lpOutBuffer
    [out] Not used; set to NULL.
  • nOutBufferSize
    [out] Not used; set to zero.
  • lpBytesReturned
    [out] Not used; set to NULL.
  • lpOverlapped
    Ignored.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Requirements

Header

sdcardddk.h

See Also

Reference

Secure Digital (SD) Card Driver IOCTLs