IVsBroadcastMessageEvents.OnBroadcastMessage(UInt32, IntPtr, IntPtr) 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.
Fires when a message is broadcast to the environment window.
public:
int OnBroadcastMessage(System::UInt32 msg, IntPtr wParam, IntPtr lParam);
public int OnBroadcastMessage (uint msg, IntPtr wParam, IntPtr lParam);
abstract member OnBroadcastMessage : uint32 * nativeint * nativeint -> int
Public Function OnBroadcastMessage (msg As UInteger, wParam As IntPtr, lParam As IntPtr) As Integer
Parameters
- msg
- UInt32
[in] Specifies the notification message.
- wParam
-
IntPtr
nativeint
[in] Word value parameter for the Windows message, as received by the environment.
- lParam
-
IntPtr
nativeint
[in] Long integer parameter for the Windows message, as received by the environment.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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