SetMessageExtraInfo

The SetMessageExtraInfo function sets the extra message information for the current thread. Extra message information is an application- or driver-defined 32-bit value associated with the current thread's message queue. An application can use the GetMessageExtraInfo function to retrieve a thread's extra message information.

LPARAM SetMessageExtraInfo(

LPARAM lParam // application-defined 32-bit value
);  

Parameters

lParam

Specifies the 32-bit value to associate with the current thread.

Return Values

The return value is the previous 32-bit value.

See Also

GetMessageExtraInfo