hab (HAB) - input

      Anchor-block handle.

    hmq (HMQ) - input

      Message-queue handle.

      NULL

        Disassociate the current thread from the currently-associated message queue.

        The thread is automatically re-associated with the queue it created, if that queue is currently disassociated. The queue is automatically re-associated with the thread that created it, if that thread is currently disassociated. This function does not disassociate a thread from the queue it created.

      OTHER
        Associate the current thread with the specified queue. Any implicit disassociations obey the rules given above.

      Success (BOOL) - returns

        Success indicator.

        TRUE

          Successful completion.
        FALSE
          An error occurred.


        [Back: WinThreadAssocQueue Return Value - Success]
        [Next: WinThreadAssocQueue - Remarks]