|Microsoft DirectX 9.0|
The PossiblyEatMessage method forwards keyboard and mouse messages to the message-drain window.
BOOL WINAPI PossiblyEatMessage( UINT uMsg, WPARAM wParam, LPARAM lParam )
First message parameter.
Second message parameter.
Returns TRUE if the message was forwarded to the window, or FALSE otherwise.
The message-drain window is a window designated to receive certain mouse and keyboard messages. Initially the window is NULL; it can be set by calling CBaseControlWindow::put_MessageDrain.
If the message-drain window is non-NULL, PossiblyEatMessage posts the following messages to that window:
It ignores other messages. If the message-drain window is NULL, the method ignores all window messages. The method returns TRUE if it posts the message, or FALSE otherwise. The CBaseWindow class calls this method when it receives a window message.