Microsoft DirectX 9.0

_IMSVidCtlEvents::KeyPress

This topic applies to Windows XP 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