CopyData.Send Method (IntPtr, Byte[], Predicate(String), Action(Win32Exception))

Tungsten Suite

CopyDataSend Method (IntPtr, Byte, PredicateString, ActionWin32Exception)

Sends a byte array from the source window to windows matching the filter predicate

Namespace:  W.InterProcess
Assembly:  Tungsten.InterProcess (in Tungsten.InterProcess.dll) Version: 2.0.0
Syntax
C#
public static void Send(
	IntPtr hSourceWnd,
	byte[] message,
	Predicate<string> filter,
	Action<Win32Exception> onError = null
)

Parameters

hSourceWnd
Type: SystemIntPtr
The window which is sending the message
message
Type: SystemByte
The array of bytes to send
filter
Type: SystemPredicateString
Used to target one or more windows based on Window Text
onError (Optional)
Type: SystemActionWin32Exception
Called if an error occurs
See Also