Skip to content

Latest commit

 

History

History
82 lines (48 loc) · 2.39 KB

cbasepropertypage-translateaccelerator.md

File metadata and controls

82 lines (48 loc) · 2.39 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location ms.custom
The TranslateAccelerator method instructs the property page to process a keystroke. This method implements the IPropertyPage::TranslateAccelerator method.
2da214c9-35dc-470c-9b7f-2f4ef6bcd40a
CBasePropertyPage.TranslateAccelerator method (Cprop.h)
reference
4/26/2023
APIRef
kbSyntax
CBasePropertyPage.TranslateAccelerator
COM
Strmbase.lib
Strmbase.dll
Strmbasd.lib
Strmbasd.dll
UpdateFrequency5

CBasePropertyPage.TranslateAccelerator method

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The TranslateAccelerator method instructs the property page to process a keystroke. This method implements the IPropertyPage::TranslateAccelerator method.

Syntax

HRESULT TranslateAccelerator(
   LPMSG lpMsg
);

Parameters

lpMsg

Pointer to a MSG structure describing the keystroke to process.

Return value

Returns E_NOTIMPL.

Remarks

Override this method if you want to provide keyboard accelerators for the property page.

Requirements

Requirement Value
Header
Cprop.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBasePropertyPage Class