Partager via


IOCTL_CDROM_SEEK_AUDIO_MSF (Compact 2013)

3/26/2014

This I/O control message moves the heads to the specified minutes, seconds, and frames on the medium. Send this message with DeviceIoControl.

Syntax

BOOL DeviceIoControl(
    HANDLE hDevice,           // handle to device
    DWORD dwIoControlCode,    // use IOCTL_CDROM_SEEK_AUDIO_MSF
    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
    [in] Handle to the device.
  • dwIoControlCode
    [in] Control code for the operation. Use to IOCTL_CDROM_SEEK_AUDIO_MSF for this operation.
  • lpInBuffer
    [in] Set to NULL.
  • nInBufferSize
    [in] Set to zero.
  • lpOutBuffer
    [in][out] Set to NULL.
  • nOutBufferSize
    [in] Set to zero.
  • lpBytesReturned
    [out] Set to NULL.
  • lpOverlapped
    [in] Set to NULL.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

To get extended error information, call GetLastError. GetLastError may return other standard error messages as appropriate.

Remarks

The sample Advanced Technology Attachment Packet Interface (ATAPI) drivers do not support this IOCTL.

Requirements

Header

cdioctl.h

See Also

Reference

Block Driver IOCTLs
DeviceIoControl