共用方式為


_IMSVidCtlEvents::KeyPress

 
Microsoft DirectShow 9.0

_IMSVidCtlEvents::KeyPress

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*
  
  KeyAscii
  
  );

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.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also