VirtualBox

Changeset 65061 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 3, 2017 10:55:26 AM (8 years ago)
Author:
vboxsync
Message:

pdmstorageifs.h: Pass the CDB length in PDMIMEDIA::pfnSendCmd to not being bound to guessing it in the host DVD access driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmstorageifs.h

    r65057 r65061  
    288288     * @returns VBox status code.
    289289     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    290      * @param   pbCmd           Offset to start reading from.
     290     * @param   pbCdb           The command to process.
     291     * @param   cbCdb           The length of the command in bytes.
    291292     * @param   enmTxDir        Direction of transfer.
    292293     * @param   pvBuf           Pointer tp the transfer buffer.
     
    297298     * @thread  Any thread.
    298299     */
    299     DECLR3CALLBACKMEMBER(int, pfnSendCmd,(PPDMIMEDIA pInterface, const uint8_t *pbCmd, PDMMEDIATXDIR enmTxDir,
    300                                           void *pvBuf, uint32_t *pcbBuf, uint8_t *pabSense, size_t cbSense,
    301                                           uint32_t cTimeoutMillies));
     300    DECLR3CALLBACKMEMBER(int, pfnSendCmd,(PPDMIMEDIA pInterface, const uint8_t *pbCdb, size_t cbCdb,
     301                                          PDMMEDIATXDIR enmTxDir, void *pvBuf, uint32_t *pcbBuf,
     302                                          uint8_t *pabSense, size_t cbSense, uint32_t cTimeoutMillies));
    302303
    303304    /**
     
    462463} PDMIMEDIA;
    463464/** PDMIMEDIA interface ID. */
    464 #define PDMIMEDIA_IID                           "d344aeaa-3ad0-4563-bb03-2733383e9230"
     465#define PDMIMEDIA_IID                           "527246f5-f300-47a7-9ec3-03d8ea8bf9de"
    465466
    466467
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette