Table of Contents

Struct Message

Namespace
Microsoft.WindowsAPICodePack.Shell.Interop
Assembly
Microsoft.WindowsAPICodePack.Shell.dll

Wraps the native Windows MSG structure.

public struct Message
Inherited Members

Properties

LParam

Gets the LParam

public nint LParam { get; }

Property Value

nint

Msg

Gets the window message

public uint Msg { get; }

Property Value

uint

Point

Gets the point

public NativePoint Point { get; }

Property Value

NativePoint

Time

Gets the time

public int Time { get; }

Property Value

int

WParam

Gets the WParam

public nint WParam { get; }

Property Value

nint

WindowHandle

Gets the window handle

public nint WindowHandle { get; }

Property Value

nint

Methods

Equals(object)

Determines if this message is equal to another.

public override bool Equals(object obj)

Parameters

obj object

Another message

Returns

bool

True if this message is equal argument; false otherwise.

GetHashCode()

Gets a hash code for the message.

public override int GetHashCode()

Returns

int

Hash code for this message.

Operators

operator ==(Message, Message)

Determines if two messages are equal.

public static bool operator ==(Message first, Message second)

Parameters

first Message

First message

second Message

Second message

Returns

bool

True if first and second message are equal; false otherwise.

operator !=(Message, Message)

Determines if two messages are not equal.

public static bool operator !=(Message first, Message second)

Parameters

first Message

First message

second Message

Second message

Returns

bool

True if first and second message are not equal; false otherwise.