[]
        
(Showing Draft Content)

C1.Util.Win.Win32.SendMessage

SendMessage Method

SendMessage(nint, int, nint, string)

Declaration
public static extern nint SendMessage(nint hWnd, int wMsg, nint wParam, string lParam)
Public Shared Function SendMessage(hWnd As IntPtr, wMsg As Integer, wParam As IntPtr, lParam As String) As IntPtr
Parameters
Type Name Description
nint hWnd
int wMsg
nint wParam
string lParam
Returns
Type Description
nint

SendMessage(nint, int, int, int)

Declaration
public static extern int SendMessage(nint hWnd, int Msg, int wParam, int lParam)
Public Shared Function SendMessage(hWnd As IntPtr, Msg As Integer, wParam As Integer, lParam As Integer) As Integer
Parameters
Type Name Description
nint hWnd
int Msg
int wParam
int lParam
Returns
Type Description
int

SendMessage(nint, uint, nint, nint)

Declaration
public static extern nint SendMessage(nint hWnd, uint wMsg, nint wParam, nint lParam)
Public Shared Function SendMessage(hWnd As IntPtr, wMsg As UInteger, wParam As IntPtr, lParam As IntPtr) As IntPtr
Parameters
Type Name Description
nint hWnd
uint wMsg
nint wParam
nint lParam
Returns
Type Description
nint

SendMessage(nint, int, nint, nint)

Declaration
public static extern int SendMessage(nint hWnd, int wMsg, nint wParam, nint lParam)
Public Shared Function SendMessage(hWnd As IntPtr, wMsg As Integer, wParam As IntPtr, lParam As IntPtr) As Integer
Parameters
Type Name Description
nint hWnd
int wMsg
nint wParam
nint lParam
Returns
Type Description
int

SendMessage(nint, uint, nint, ref LVITEM)

Declaration
public static extern nint SendMessage(nint hWnd, uint wMsg, nint wParam, ref Win32.LVITEM lParam)
Public Shared Function SendMessage(hWnd As IntPtr, wMsg As UInteger, wParam As IntPtr, ByRef lParam As Win32.LVITEM) As IntPtr
Parameters
Type Name Description
nint hWnd
uint wMsg
nint wParam
Win32.LVITEM lParam
Returns
Type Description
nint

SendMessage(nint, uint, nint, EDITSTREAM)

Declaration
public static extern nint SendMessage(nint hWnd, uint wMsg, nint wParam, Win32.EDITSTREAM lParam)
Public Shared Function SendMessage(hWnd As IntPtr, wMsg As UInteger, wParam As IntPtr, lParam As Win32.EDITSTREAM) As IntPtr
Parameters
Type Name Description
nint hWnd
uint wMsg
nint wParam
Win32.EDITSTREAM lParam
Returns
Type Description
nint

SendMessage(nint, uint, nint, EDITSTREAM64)

Declaration
public static extern nint SendMessage(nint hWnd, uint wMsg, nint wParam, Win32.EDITSTREAM64 lParam)
Public Shared Function SendMessage(hWnd As IntPtr, wMsg As UInteger, wParam As IntPtr, lParam As Win32.EDITSTREAM64) As IntPtr
Parameters
Type Name Description
nint hWnd
uint wMsg
nint wParam
Win32.EDITSTREAM64 lParam
Returns
Type Description
nint

SendMessage(nint, int, nint, ref RECT)

Declaration
public static extern int SendMessage(nint hWnd, int wMsg, nint wParam, ref Win32.RECT lParam)
Public Shared Function SendMessage(hWnd As IntPtr, wMsg As Integer, wParam As IntPtr, ByRef lParam As Win32.RECT) As Integer
Parameters
Type Name Description
nint hWnd
int wMsg
nint wParam
Win32.RECT lParam
Returns
Type Description
int

SendMessage(nint, int, int, ref POINT)

Declaration
public static extern nint SendMessage(nint hWnd, int msg, int wParam, ref Win32.POINT lParam)
Public Shared Function SendMessage(hWnd As IntPtr, msg As Integer, wParam As Integer, ByRef lParam As Win32.POINT) As IntPtr
Parameters
Type Name Description
nint hWnd
int msg
int wParam
Win32.POINT lParam
Returns
Type Description
nint