IInputObject::TranslateAcceleratorIO method (shobjidl_core.h)

Enables the object to process keyboard accelerators.

Syntax

HRESULT TranslateAcceleratorIO(
  MSG *pMsg
);

Parameters

pMsg

Type: LPMSG

The address of an MSG structure that contains the keyboard message that is being translated.

Return value

Type: HRESULT

Returns S_OK if the accelerator was translated, or S_FALSE otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.71 or later)