mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
parent
3c950f2259
commit
6c337b4d51
|
@ -965,13 +965,14 @@ MsqRemoveWindowMessagesFromQueue(PVOID pWindow)
|
|||
ListHead = &MessageQueue->SentMessagesListHead;
|
||||
while (CurrentEntry != ListHead)
|
||||
{
|
||||
CurrentEntry = RemoveHeadList(&MessageQueue->SentMessagesListHead);
|
||||
SentMessage = CONTAINING_RECORD(CurrentEntry, USER_SENT_MESSAGE,
|
||||
ListEntry);
|
||||
if(SentMessage->Msg.hwnd == Window->hSelf)
|
||||
{
|
||||
DPRINT("Notify the sender and remove a message from the queue that had not been dispatched\n");
|
||||
|
||||
RemoveEntryList(&SentMessage->ListEntry);
|
||||
|
||||
/* remove the message from the dispatching list */
|
||||
if(SentMessage->DispatchingListEntry.Flink != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue