Compartilhar via


IVsDocOutlineProvider2.TranslateAccelerator(MSG[]) Method

Definition

Processes a Windows message related to accelerator keys.

public:
 int TranslateAccelerator(cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ lpMsg);
int TranslateAccelerator(std::Array <Microsoft::VisualStudio::OLE::Interop::MSG> const & lpMsg);
public int TranslateAccelerator (Microsoft.VisualStudio.OLE.Interop.MSG[] lpMsg);
abstract member TranslateAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Public Function TranslateAccelerator (lpMsg As MSG()) As Integer

Parameters

lpMsg
MSG[]

[in] Pointer to the Windows message to process.

Returns

When implementing, return S_OK if the message was processed and requires no further translation; otherwise, return S_FALSE if you want the shell to translate the message.

Applies to