BroadcastSystemMessageEx function user32

int BroadcastSystemMessageEx(
  1. int flags,
  2. Pointer<Uint32> lpInfo,
  3. int Msg,
  4. int wParam,
  5. int lParam,
  6. Pointer<BSMINFO> pbsmInfo
)

Sends a message to the specified recipients. The recipients can be applications, installable drivers, network drivers, system-level device drivers, or any combination of these system components.

long BroadcastSystemMessageExW(
  DWORD    flags,
  LPDWORD  lpInfo,
  UINT     Msg,
  WPARAM   wParam,
  LPARAM   lParam,
  PBSMINFO pbsmInfo
);

Implementation

int BroadcastSystemMessageEx(int flags, Pointer<Uint32> lpInfo, int Msg,
        int wParam, int lParam, Pointer<BSMINFO> pbsmInfo) =>
    _BroadcastSystemMessageEx(flags, lpInfo, Msg, wParam, lParam, pbsmInfo);