IntPtr SendWndMsgTimeout(IntPtr, int, IntPtr, IntPtr, int, int)

Sends a message to the specified window via the Windows API. WARNING: This function will throw an exception if 0 is returned.

Parameters

Name Description
h IntPtr
The window handle.
msg int
The window message.
wp IntPtr
The WPARAM.
lp IntPtr
The LPARAM.
timeout int
The timeout.
flags int
The flags.

Security

Trust Level Required: High

Return

The result of the SendMessageTimeout call.

Requirements

KioWare for Windows version 8.5 or greater.