Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Previous | Next |
IWMPNodeWindowedHost::OnWindowMessageFromRenderer (deprecated)
This page documents a feature that may be unavailable in future versions of Windows Media Player and the Windows Media Player SDK.
The OnWindowMessageFromRenderer method sends Windows messages from the plug-in to Windows Media Player.
Syntax
Parameters
uMsg
[in] The Windows message received.
wparam
[in] Message-specific data.
lparam
[in] Message-specific data.
plRet
[out] Pointer to a long integer containing the return value.
pfHandled
[out] Pointer to a Boolean, true indicating handled.
Return Values
The method returns an HRESULT.
Remarks
You must forward certain messages received by your plug-in window to Windows Media Player if they are not handled by your window code. For instance, keyboard messages and mouse messages might need to be handled by the Player or Internet Explorer. Do not forward messages received from Windows Media Player in IWMPWindowMessageSink::OnWindowMessage.
The following window messages must be forwarded:
- WM_KEYDOWN
- WM_KEYUP
- WM_LBUTTONDBLCLK
- WM_LBUTTONDOWN
- WM_LBUTTONUP
- WM_MBUTTONDBLCLK
- WM_MBUTTONDOWN
- WM_MBUTTONUP
- WM_MOUSEACTIVATE
- WM_MOUSEMOVE
- WM_NCLBUTTONDBLCLK
- WM_NCLBUTTONDOWN
- WM_NCLBUTTONUP
- WM_NCMBUTTONDBLCLK
- WM_NCMBUTTONDOWN
- WM_NCMBUTTONUP
- WM_NCMOUSEMOVE
- WM_NCRBUTTONDBLCLK
- WM_NCRBUTTONDOWN
- WM_NCRBUTTONUP
- WM_RBUTTONDBLCLK
- WM_RBUTTONDOWN
- WM_RBUTTONUP
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmprealestate.h.
Library: Use wmp.dll.
See Also
Previous | Next |