Broadcast

OllyDbg Plugin API

Broadcast

Function sends message to all open MDI windows. Stops either after message is sent to all windows or when some window returns STOP_BROADCAST. Usually used to broadcast custom messages WM_USER_CHALL, WM_USER_CHMEM and WM_USER_CHREG. Note that you don't need to broadcast WM_USER_CHMEM after call to Writememory with mode flag MM_RESTORE.

int Broadcast(UINT msg,WPARAM wParam,LPARAM lParam);

Parameters:

msg - message to be broadcasted;

wParam - first message parameter;

lParam - second message parameter.

See also: Writememory, WM_USER_CHALL, WM_USER_CHMEM, WM_USER_CHREG