IVsDocOutlineProvider2.TranslateAccelerator(MSG[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.