Windows Media Player 11 SDK IWMPEvents::KeyPress 

Windows Media Player SDK banner art

Previous Next

IWMPEvents::KeyPress

The KeyPress event occurs when a key is pressed and then released.

Syntax

  

Parameters

nKeyAscii

[in]  Specifies the standard numeric ANSI code for the character.

Return Values

This event does not return a value.

Remarks

This event occurs when the keystroke results in any printable keyboard character, the CTRL key combined with a character from the standard alphabet or one of a few special characters, and the ENTER or BACKSPACE key.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next