June 2001
Intermediate to advanced
706 pages
24h 10m
English
AttachThreadInput
Forces multiple threads to receive messages from a single message queue:
Private Declare Function AttachThreadInput Lib "user32" _
Alias "AttachThreadInput" _
(ByVal idAttach As Long, _
ByVal idAttachTo As Long, _\
ByVal fAttach As Long) As LongidAttach
The thread ID of the thread to be attached to another thread’s message queue.
idAttachTo
The thread ID of the thread containing the message queue to which the
thread specified by idAttach is attached.
fAttach
True specifies to attach the two threads;
False specifies to detach the two threads.
0 indicates that the function failed; any other value indicates success.
Read now
Unlock full access