Changeset 45032 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Mar 13, 2013 11:38:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmcardreaderinfs.h
r45031 r45032 53 53 struct PDMICARDREADERDOWN 54 54 { 55 /** @todo r=bird: Why on earth is CardReaderDown part of the names here?? 56 * Please do s/pfnCardReaderDown/pfn/g. */ 57 DECLR3CALLBACKMEMBER(int, pfnCardReaderDownEstablishContext,(PPDMICARDREADERDOWN pInterface)); 58 DECLR3CALLBACKMEMBER(int, pfnCardReaderDownConnect,(PPDMICARDREADERDOWN pInterface, void *pvUser, const char *pszCardReaderName, 59 uint32_t u32ShareMode, uint32_t u32PreferredProtocols)); 60 DECLR3CALLBACKMEMBER(int, pfnCardReaderDownDisconnect,(PPDMICARDREADERDOWN pInterface, void *pvUser, 61 uint32_t u32Disposition)); 62 DECLR3CALLBACKMEMBER(int, pfnCardReaderDownStatus,(PPDMICARDREADERDOWN pInterface, void *pvUser, 63 uint32_t cchReaderName, uint32_t cbAtrLen)); 64 DECLR3CALLBACKMEMBER(int, pfnCardReaderDownReleaseContext,(PPDMICARDREADERDOWN pInterface, void *pvUser)); 65 DECLR3CALLBACKMEMBER(int, pfnCardReaderDownGetStatusChange,(PPDMICARDREADERDOWN pInterface, void *pvUser, 66 uint32_t u32Timeout, PDMICARDREADER_READERSTATE *paReaderStats, uint32_t cReaderStats)); 67 DECLR3CALLBACKMEMBER(int, pfnCardReaderDownBeginTransaction,(PPDMICARDREADERDOWN pInterface, void *pvUser)); 68 DECLR3CALLBACKMEMBER(int, pfnCardReaderDownEndTransaction,(PPDMICARDREADERDOWN pInterface, void *pvUser, 55 DECLR3CALLBACKMEMBER(int, pfnEstablishContext,(PPDMICARDREADERDOWN pInterface)); 56 DECLR3CALLBACKMEMBER(int, pfnConnect,(PPDMICARDREADERDOWN pInterface, void *pvUser, const char *pszCardReaderName, 57 uint32_t u32ShareMode, uint32_t u32PreferredProtocols)); 58 DECLR3CALLBACKMEMBER(int, pfnDisconnect,(PPDMICARDREADERDOWN pInterface, void *pvUser, uint32_t u32Disposition)); 59 DECLR3CALLBACKMEMBER(int, pfnStatus,(PPDMICARDREADERDOWN pInterface, void *pvUser, uint32_t cchReaderName, uint32_t cbAtrLen)); 60 DECLR3CALLBACKMEMBER(int, pfnReleaseContext,(PPDMICARDREADERDOWN pInterface, void *pvUser)); 61 DECLR3CALLBACKMEMBER(int, pfnGetStatusChange,(PPDMICARDREADERDOWN pInterface, void *pvUser, uint32_t u32Timeout, 62 PDMICARDREADER_READERSTATE *paReaderStats, uint32_t cReaderStats)); 63 DECLR3CALLBACKMEMBER(int, pfnBeginTransaction,(PPDMICARDREADERDOWN pInterface, void *pvUser)); 64 DECLR3CALLBACKMEMBER(int, pfnEndTransaction,(PPDMICARDREADERDOWN pInterface, void *pvUser, 69 65 uint32_t u32Disposition)); 70 DECLR3CALLBACKMEMBER(int, pfn CardReaderDownTransmit,(PPDMICARDREADERDOWN pInterface, void *pvUser,71 72 66 DECLR3CALLBACKMEMBER(int, pfnTransmit,(PPDMICARDREADERDOWN pInterface, void *pvUser, 67 const PDMICARDREADER_IO_REQUEST *pioSendRequest, 68 const uint8_t *pu8SendBuffer, uint32_t cbSendBuffer, uint32_t cbRecvBuffer)); 73 69 /** 74 70 * Up level provides pvInBuffer of cbInBuffer bytes to call SCardControl, also it specify bytes it expects to receive … … 77 73 * buffer. 78 74 */ 79 DECLR3CALLBACKMEMBER(int, pfnC ardReaderDownControl,(PPDMICARDREADERDOWN pInterface, void *pvUser,80 75 DECLR3CALLBACKMEMBER(int, pfnControl,(PPDMICARDREADERDOWN pInterface, void *pvUser, 76 uint32_t u32ControlCode, const void *pvInBuffer, uint32_t cbInBuffer, uint32_t cbOutBuffer)); 81 77 /** 82 78 * This function ask driver to provide attribute (dwAttribId) and provide limit (cbAttrib) of buffer size for attribute value, 83 79 * Callback UpGetAttrib returns buffer containing the value and altered size of the buffer. 84 80 */ 85 DECLR3CALLBACKMEMBER(int, pfn CardReaderDownGetAttr,(PPDMICARDREADERDOWN pInterface, void *pvUser,86 87 DECLR3CALLBACKMEMBER(int, pfn CardReaderDownSetAttr,(PPDMICARDREADERDOWN pInterface, void *pvUser,88 81 DECLR3CALLBACKMEMBER(int, pfnGetAttr,(PPDMICARDREADERDOWN pInterface, void *pvUser, 82 uint32_t u32AttribId, uint32_t cbAttrib)); 83 DECLR3CALLBACKMEMBER(int, pfnSetAttr,(PPDMICARDREADERDOWN pInterface, void *pvUser, 84 uint32_t u32AttribId, const void *pvAttrib, uint32_t cbAttrib)); 89 85 }; 90 86
Note:
See TracChangeset
for help on using the changeset viewer.