SetMessageExtraInfo function

Sets 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. An application can use the GetMessageExtraInfo function to retrieve a thread's extra message information.

Syntax

LPARAM SetMessageExtraInfo(
  LPARAM lParam
);

Parameters

lParam

Type: LPARAM

The value to be associated with the current thread.

Return Value

Type: Type: LPARAM

The return value is the previous value associated with the current thread.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll

See Also

Conceptual

GetMessageExtraInfo

Messages and Message Queues

Reference