Microsoft DirectX 8.1 (C++)

_IMSVidCtlEvents::KeyPress

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The KeyPress method is called when the user presses and releases a key.

Syntax

void KeyPress(
  short*  pKeyAscii
);

Parameters

  pKeyAscii

Specifies the ASCII value of the key.

Return Values

This method does not return a value.

Remarks

The dispatch identifier (dispid) of this method is DISPID_KEYPRESS.

See Also