Lines Matching refs:pNewEvent
146 WMEventPtr pEvent, pNewEvent, *pHead; in ProcWindowsWMSelectInput() local
165 pNewEvent = malloc(sizeof(WMEventRec)); in ProcWindowsWMSelectInput()
166 if (!pNewEvent) in ProcWindowsWMSelectInput()
168 pNewEvent->next = 0; in ProcWindowsWMSelectInput()
169 pNewEvent->client = client; in ProcWindowsWMSelectInput()
170 pNewEvent->mask = stuff->mask; in ProcWindowsWMSelectInput()
176 pNewEvent->clientResource = clientResource; in ProcWindowsWMSelectInput()
177 if (!AddResource(clientResource, ClientType, (void *) pNewEvent)) in ProcWindowsWMSelectInput()
195 pNewEvent->next = *pHead; in ProcWindowsWMSelectInput()
196 *pHead = pNewEvent; in ProcWindowsWMSelectInput()
202 pNewEvent = 0; in ProcWindowsWMSelectInput()
206 pNewEvent = pEvent; in ProcWindowsWMSelectInput()
210 if (pNewEvent) in ProcWindowsWMSelectInput()
211 pNewEvent->next = pEvent->next; in ProcWindowsWMSelectInput()