IVsBroadcastMessageEvents::OnBroadcastMessage Method (UInt32, IntPtr, IntPtr)
Visual Studio 2015
Fires when a message is broadcast to the environment window.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- msg
-
Type:
System::UInt32
[in] Specifies the notification message.
- wParam
-
Type:
System::IntPtr
[in] Word value parameter for the Windows message, as received by the environment.
- lParam
-
Type:
System::IntPtr
[in] Long integer parameter for the Windows message, as received by the environment.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsBroadcastMessageEvents::OnBroadcastMessage( [in] UINT msg, [in] WPARAM wParam, [in] LPARAM lParam );
Messages that are currently passed include:
WM_WININICHANGE
WM_DISPLAYCHANGE
WM_SYSCOLORCHANGE
WM_PALETTECHANGED
WM_PALETTEISCHANGING
WM_ACTIVATEAPP
Show: