SendMessage Method (IntPtr, UInt32, IntPtr, IntPtr)

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Sends a window message.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public static IntPtr SendMessage(
	IntPtr hWnd,
	uint msg,
	IntPtr wParam,
	IntPtr lParam
)
Visual Basic (Declaration)
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Shared Function SendMessage ( _
	hWnd As IntPtr, _
	msg As UInteger, _
	wParam As IntPtr, _
	lParam As IntPtr _
) As IntPtr
Visual C++
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public:
static IntPtr SendMessage(
	IntPtr hWnd, 
	unsigned int msg, 
	IntPtr wParam, 
	IntPtr lParam
)

Parameters

hWnd
Type: System..::.IntPtr
The window handle.
msg
Type: System..::.UInt32
The window message.
wParam
Type: System..::.IntPtr
The wParam argument.
lParam
Type: System..::.IntPtr
The lParam argument.

Return Value

The value returned by the win32 call.

Permissions

PermissionDescription
System.Security.Permissions..::.SecurityPermissionDemand value: Demand; Named Permission Sets: FullTrust.

See Also