IUnknown_TranslateAcceleratorGlobal

Go to Home Page

Handles global accelerators so that input objects can respond to the keyboard even when they are not UI-active.

Syntax

HRESULT WINAPI IUnknown_TranslateAcceleratorGlobal (
    IUnknown* pUnk,
    MSG* pMsg
)

Parameters

pUnk
An interface pointer that supports the IInputObject2 interface
pMsg
A pointer to a MSG structure to containing a keyboard message

Return Value

S_OK on success, standard COM error code on failure

Remarks

This function is a simple C-ish wrapper around QueryInterface and a call to IInputObject2::TranslateAcceleratorGlobal

This function is also known as _IUnknown_TranslateAcceleratorGlobal@8.