Changeset 68699 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Sep 7, 2017 3:12:54 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117930
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmifs.h
r65120 r68699 1244 1244 { 1245 1245 /** 1246 * Polls for the specified events. 1247 * 1248 * @returns VBox status code. 1249 * @retval VERR_INTERRUPTED if the poll was interrupted. 1250 * @retval VERR_TIMEOUT if the maximum waiting time was reached. 1251 * @param pInterface Pointer to the interface structure containing the called function pointer. 1252 * @param fEvts The events to poll for, see RTPOLL_EVT_XXX. 1253 * @param *pfEvts Where to return details about the events that occurred. 1254 * @param cMillies Number of milliseconds to wait. Use 1255 * RT_INDEFINITE_WAIT to wait for ever. 1256 */ 1257 DECLR3CALLBACKMEMBER(int, pfnPoll,(PPDMISTREAM pInterface, uint32_t fEvts, uint32_t *pfEvts, RTMSINTERVAL cMillies)); 1258 1259 /** 1260 * Interrupts the current poll call. 1261 * 1262 * @returns VBox status code. 1263 * @param pInterface Pointer to the interface structure containing the called function pointer. 1264 */ 1265 DECLR3CALLBACKMEMBER(int, pfnPollInterrupt,(PPDMISTREAM pInterface)); 1266 1267 /** 1246 1268 * Read bits. 1247 1269 * … … 1251 1273 * @param pcbRead Number of bytes to read/bytes actually read. 1252 1274 * @thread Any thread. 1275 * 1276 * @note: This is non blocking, use the poll callback to block when there is nothing to read. 1253 1277 */ 1254 1278 DECLR3CALLBACKMEMBER(int, pfnRead,(PPDMISTREAM pInterface, void *pvBuf, size_t *pcbRead)); … … 1262 1286 * @param pcbWrite Number of bytes to write/bytes actually written. 1263 1287 * @thread Any thread. 1288 * 1289 * @note: This is non blocking, use the poll callback to block until there is room to write. 1264 1290 */ 1265 1291 DECLR3CALLBACKMEMBER(int, pfnWrite,(PPDMISTREAM pInterface, const void *pvBuf, size_t *pcbWrite)); 1266 1292 } PDMISTREAM; 1267 1293 /** PDMISTREAM interface ID. */ 1268 #define PDMISTREAM_IID " d1a5bf5e-3d2c-449a-bde9-addd7920b71f"1294 #define PDMISTREAM_IID "f9bd1ba6-c134-44cc-8259-febe14393952" 1269 1295 1270 1296
Note:
See TracChangeset
for help on using the changeset viewer.