Lines Matching defs:pItem
131 PDRVMOUSEQUEUEITEM pItem = (PDRVMOUSEQUEUEITEM)PDMQueueAlloc(pDrv->pQueue);
132 if (pItem)
134 RT_ZERO(pItem->u.padding);
135 pItem->enmType = RELATIVE;
136 pItem->u.Relative.dx = dx;
137 pItem->u.Relative.dy = dy;
138 pItem->u.Relative.dz = dz;
139 pItem->u.Relative.dw = dw;
140 pItem->u.Relative.fButtons = fButtons;
141 PDMQueueInsert(pDrv->pQueue, &pItem->Core);
159 PDRVMOUSEQUEUEITEM pItem = (PDRVMOUSEQUEUEITEM)PDMQueueAlloc(pDrv->pQueue);
160 if (pItem)
162 RT_ZERO(pItem->u.padding);
163 pItem->enmType = ABSOLUTE;
164 pItem->u.Absolute.x = x;
165 pItem->u.Absolute.y = y;
166 pItem->u.Absolute.dz = dz;
167 pItem->u.Absolute.dw = dw;
168 pItem->u.Absolute.fButtons = fButtons;
169 PDMQueueInsert(pDrv->pQueue, &pItem->Core);
234 PDRVMOUSEQUEUEITEM pItem = (PDRVMOUSEQUEUEITEM)pItemCore;
236 if (pItem->enmType == RELATIVE)
238 pItem->u.Relative.dx,
239 pItem->u.Relative.dy,
240 pItem->u.Relative.dz,
241 pItem->u.Relative.dw,
242 pItem->u.Relative.fButtons);
243 else if (pItem->enmType == ABSOLUTE)
245 pItem->u.Absolute.x,
246 pItem->u.Absolute.y,
247 pItem->u.Absolute.dz,
248 pItem->u.Absolute.dw,
249 pItem->u.Absolute.fButtons);