IPreviewHandlerFrame::TranslateAccelerator method
Directs the host to handle an keyboard shortcut passed from the preview handler.
Syntax
HRESULT TranslateAccelerator(
[in] MSG *pmsg
);
Parameters
- pmsg [in]
-
Type: MSG*
A pointer to a WM_COMMAND or WM_SYSCOMMAND window message that corresponds to a keyboard shortcut.
Return value
Type: HRESULT
If the keyboard shortcut is one that the host intends to handle, the host will process it and return S_OK; otherwise, it returns S_FALSE.
Remarks
Note This method is only called by a preview handler in response to an TranslateAccelerator call.
Requirements
|
Minimum supported client |
Windows Vista, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Redistributable |
Windows Search 4 or later |
|
Header |
|
|
IDL |
|
Show: