1 out of 1 rated this helpful - Rate this topic

GetMessageExtraInfo function

Applies to: desktop apps only

Retrieves the extra message information for the current thread. Extra message information is an application- or driver-defined value associated with the current thread's message queue.

Syntax

LPARAM WINAPI GetMessageExtraInfo(void);

Parameters

This function has no parameters.

Return value

Type:

Type: LPARAM

The return value specifies the extra information. The meaning of the extra information is device specific.

Remarks

To set a thread's extra message information, use the SetMessageExtraInfo function.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
GetMessage
PeekMessage
SetMessageExtraInfo
Conceptual
Messages and Message Queues

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
C# syntax
[DllImport("user32.dll", CharSet=CharSet.Auto)]
internal static extern IntPtr GetMessageExtraInfo();
vb.net syntax
<DllImport("user32.dll", CharSet:=CharSet.Auto)> _
Public Shared Function GetMessageExtraInfo() As IntPtr
End Function