WindowMessage Delegate

Definition

Represents a delegate that is used to reference the method that will handle window messages.

public delegate void WindowMessage(int msgId, IntPtr parameter1, IntPtr parameter2);
public delegate void WindowMessage(int msgId, IntPtr parameter1, IntPtr parameter2);
type WindowMessage = delegate of int * nativeint * nativeint -> unit
Public Delegate Sub WindowMessage(msgId As Integer, parameter1 As IntPtr, parameter2 As IntPtr)

Parameters

msgId
Int32

The message identifier.

parameter1
IntPtr

nativeint

A pointer to the first message parameter. The value of this parameter depends on the message.

parameter2
IntPtr

nativeint

A pointer to the second message parameter. The value of this parameter depends on the message.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to