mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
parent
3c950f2259
commit
6c337b4d51
1 changed files with 2 additions and 1 deletions
|
@ -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