Windows Media Player 11 SDK IWMPWindowMessageSink::OnWindowMessage (deprecated)
Previous | Next |
IWMPWindowMessageSink::OnWindowMessage (deprecated)
This page documents a feature that may be unavailable in future versions of Windows Media Player and the Windows Media Player SDK.
The OnWindowMessage method receives window messages.
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
When a rendering plug-in window is not hosted in the Windows Media Player UI, such as when the Player is in windowless mode or the Player is rendering Windows Media video, it needs a mechanism to receive window messages from the Player. In these cases, the Player forwards window messages to the plug-in by calling this method.
Windows Media Player queries all active rendering plug-ins to determine whether they support this method and automatically forwards window messages to each plug-in that does.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmprealestate.h.
See Also
Previous | Next |