Share via


Windows Media Player 11 SDK IWMPPluginUI::TranslateAccelerator 

Windows Media Player SDK banner art

Previous Next

IWMPPluginUI::TranslateAccelerator

The TranslateAccelerator method is called as part of the Windows Media Player message loop to allow the plug-in to intercept and respond to keyboard events.

Syntax

  

Parameters

lpmsg

[in]  LPMSG structure containing message information from Windows Media Player that the plug-in can respond to.

Return Values

This method returns an HRESULT.

Remarks

The plug-in can set up an accelerator table to reroute specific keyboard events to appropriate handler methods. If the plug-in chooses not to respond to keyboard events, it should return S_FALSE.

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmpplug.h.

See Also

Previous Next