Share via


_IMSVidCtlEvents::KeyPress Method

This topic applies to Windows XP or later.
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 Value

This method does not return a value.

Remarks

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

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

_IMSVidCtlEvents Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008