mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
[win32k]
- Remove some unused functions svn path=/trunk/; revision=49769
This commit is contained in:
parent
aa3c437ea1
commit
4ef8ef5ae9
|
@ -165,9 +165,6 @@ NTSTATUS FASTCALL
|
||||||
co_MsqWaitForNewMessages(PUSER_MESSAGE_QUEUE MessageQueue, PWND WndFilter,
|
co_MsqWaitForNewMessages(PUSER_MESSAGE_QUEUE MessageQueue, PWND WndFilter,
|
||||||
UINT MsgFilterMin, UINT MsgFilterMax);
|
UINT MsgFilterMin, UINT MsgFilterMax);
|
||||||
VOID FASTCALL
|
VOID FASTCALL
|
||||||
MsqSendNotifyMessage(PUSER_MESSAGE_QUEUE MessageQueue,
|
|
||||||
PUSER_SENT_MESSAGE_NOTIFY NotifyMessage);
|
|
||||||
VOID FASTCALL
|
|
||||||
MsqIncPaintCountQueue(PUSER_MESSAGE_QUEUE Queue);
|
MsqIncPaintCountQueue(PUSER_MESSAGE_QUEUE Queue);
|
||||||
VOID FASTCALL
|
VOID FASTCALL
|
||||||
MsqDecPaintCountQueue(PUSER_MESSAGE_QUEUE Queue);
|
MsqDecPaintCountQueue(PUSER_MESSAGE_QUEUE Queue);
|
||||||
|
|
|
@ -360,34 +360,6 @@ MsqDestroyMessage(PUSER_MESSAGE Message)
|
||||||
ExFreeToPagedLookasideList(&MessageLookasideList, Message);
|
ExFreeToPagedLookasideList(&MessageLookasideList, Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID FASTCALL
|
|
||||||
co_MsqDispatchSentNotifyMessages(PUSER_MESSAGE_QUEUE MessageQueue)
|
|
||||||
{
|
|
||||||
PLIST_ENTRY ListEntry;
|
|
||||||
PUSER_SENT_MESSAGE_NOTIFY Message;
|
|
||||||
|
|
||||||
while (!IsListEmpty(&MessageQueue->SentMessagesListHead))
|
|
||||||
{
|
|
||||||
ListEntry = RemoveHeadList(&MessageQueue->SentMessagesListHead);
|
|
||||||
Message = CONTAINING_RECORD(ListEntry, USER_SENT_MESSAGE_NOTIFY,
|
|
||||||
ListEntry);
|
|
||||||
|
|
||||||
co_IntCallSentMessageCallback(Message->CompletionCallback,
|
|
||||||
Message->hWnd,
|
|
||||||
Message->Msg,
|
|
||||||
Message->CompletionCallbackContext,
|
|
||||||
Message->Result);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOLEAN FASTCALL
|
|
||||||
MsqPeekSentMessages(PUSER_MESSAGE_QUEUE MessageQueue)
|
|
||||||
{
|
|
||||||
return(!IsListEmpty(&MessageQueue->SentMessagesListHead));
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOLEAN FASTCALL
|
BOOLEAN FASTCALL
|
||||||
co_MsqDispatchOneSentMessage(PUSER_MESSAGE_QUEUE MessageQueue)
|
co_MsqDispatchOneSentMessage(PUSER_MESSAGE_QUEUE MessageQueue)
|
||||||
{
|
{
|
||||||
|
@ -572,15 +544,6 @@ MsqRemoveWindowMessagesFromQueue(PVOID pWindow)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID FASTCALL
|
|
||||||
MsqSendNotifyMessage(PUSER_MESSAGE_QUEUE MessageQueue,
|
|
||||||
PUSER_SENT_MESSAGE_NOTIFY NotifyMessage)
|
|
||||||
{
|
|
||||||
InsertTailList(&MessageQueue->NotifyMessagesListHead,
|
|
||||||
&NotifyMessage->ListEntry);
|
|
||||||
MsqWakeQueue(MessageQueue, QS_SENDMESSAGE);
|
|
||||||
}
|
|
||||||
|
|
||||||
NTSTATUS FASTCALL
|
NTSTATUS FASTCALL
|
||||||
co_MsqSendMessage(PUSER_MESSAGE_QUEUE MessageQueue,
|
co_MsqSendMessage(PUSER_MESSAGE_QUEUE MessageQueue,
|
||||||
HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam,
|
HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam,
|
||||||
|
|
|
@ -656,22 +656,6 @@ IntSetWindowProc(PWND pWnd,
|
||||||
return Ret;
|
return Ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Move this to user space!
|
|
||||||
BOOL FASTCALL
|
|
||||||
IntGetWindowInfo(PWND Wnd, PWINDOWINFO pwi)
|
|
||||||
{
|
|
||||||
pwi->cbSize = sizeof(WINDOWINFO);
|
|
||||||
pwi->rcWindow = Wnd->rcWindow;
|
|
||||||
pwi->rcClient = Wnd->rcClient;
|
|
||||||
pwi->dwStyle = Wnd->style;
|
|
||||||
pwi->dwExStyle = Wnd->ExStyle;
|
|
||||||
pwi->dwWindowStatus = (UserGetForegroundWindow() == Wnd->head.h); /* WS_ACTIVECAPTION */
|
|
||||||
IntGetWindowBorderMeasures(Wnd, &pwi->cxWindowBorders, &pwi->cyWindowBorders);
|
|
||||||
pwi->atomWindowType = (Wnd->pcls ? Wnd->pcls->atomClassName : 0);
|
|
||||||
pwi->wCreatorVersion = 0x400; /* FIXME - return a real version number */
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static BOOL FASTCALL
|
static BOOL FASTCALL
|
||||||
IntSetMenu(
|
IntSetMenu(
|
||||||
PWND Wnd,
|
PWND Wnd,
|
||||||
|
@ -800,25 +784,6 @@ IntGetClientRect(PWND Window, RECTL *Rect)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
HWND FASTCALL
|
|
||||||
IntGetFocusWindow(VOID)
|
|
||||||
{
|
|
||||||
PUSER_MESSAGE_QUEUE Queue;
|
|
||||||
PDESKTOP pdo = IntGetActiveDesktop();
|
|
||||||
|
|
||||||
if( !pdo )
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
Queue = (PUSER_MESSAGE_QUEUE)pdo->ActiveMessageQueue;
|
|
||||||
|
|
||||||
if (Queue == NULL)
|
|
||||||
return(NULL);
|
|
||||||
else
|
|
||||||
return(Queue->FocusWindow);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PMENU_OBJECT FASTCALL
|
PMENU_OBJECT FASTCALL
|
||||||
IntGetSystemMenu(PWND Window, BOOL bRevert, BOOL RetMenu)
|
IntGetSystemMenu(PWND Window, BOOL bRevert, BOOL RetMenu)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue