共用方式為


IFullScreenVideoEx::SetAcceleratorTable

 
Microsoft DirectShow 9.0

IFullScreenVideoEx::SetAcceleratorTable

The SetAcceleratorTable method specifies an accelerator table that will be used to translate keyboard messages. The Full Screen Renderer filter does not support this method.

Syntax

  HRESULT SetAcceleratorTable(
    HWND hwnd,
    HACCEL hAccel
);

Parameters

hwnd

[in] Handle of the window that will receive the translated messages.

hAccel

[in] Handle to the accelerator table.

Return Values

Returns an HRESULT value.

Requirements

Header: Declared in Amvideo.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also