IWMPEvents::KeyPress event

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

Syntax


void KeyPress(
  [inshort nKeyAscii
);

Parameters

nKeyAscii [in]

Specifies the standard numeric ANSI code for the character.

Return value

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

Wmp.h

DLL

Wmp.dll

See also

IWMPEvents Interface

 

 

Show: