---
name: "SHPropagateMessage"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SHPropagateMessage"
---

# SHPropagateMessage(3w)

## NAME

**SHPropagateMessage** (SHLWAPI.178)

## SYNOPSIS

void SHPropagateMessage\
  (\
   HWND   *hWnd*,\
   UINT   *uiMsgId*,\
   WPARAM *wParam*,\
   LPARAM *lParam*,\
   BOOL   *bSend*\
  )

## DESCRIPTION

Send or post a message to every child of a window.

## PARAMS

*hWnd* **\[In\]**  Window whose children will get the messages.

*uiMsgId* **\[In\]**  Message Id.

*wParam* **\[In\]**  **WPARAM** of message.

*lParam* **\[In\]**  **LPARAM** of message.

*bSend* **\[In\]**  **TRUE** = Use **[SendMessageA(3w)](/SendMessageA/3w.md)**, **FALSE** = Use **[PostMessageA(3w)](/PostMessageA/3w.md)**.

## RETURNS

Nothing.

## NOTES

The appropriate **ASCII** or Unicode function is called for the window.

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/shlwapi/ordinal.c"**.

Debug channel **"shell"**.
