The information in this article applies to:
SYMPTOMSThe TAPI callback function does not get called if you use the hidden window method of event notification in a TAPI application by calling lineInitializeEx with the dwOptions field in the LINEINITIALIZEEXPARAMS structure set to LINEINITIALIZEEXOPTION_USEHIDDENWINDOW, or by calling lineInitialize. CAUSE
When the hidden window method of notification is used in a TAPI application, TAPI creates a hidden window for the application in the context of the thread that called lineInitializeEx. If the thread that calls lineInitializeEx does not retrieve and dispatch windows messages, the hidden window does not receive Windows messages, and in turn, the callback function registered by the TAPI application is not called. RESOLUTIONMake sure the thread that calls lineInitializeEx or lineInitialize contains a message loop that retrieves and dispatches messages for the hidden window. STATUSThis behavior is by design. Additional query words:
Keywords : kbAPI kbKernBase kbNTOS400 kbWinOS2000 kbTAPI kbWinOS95 kbWinOS98 kbDSupport kbGrpKernBase |
Last Reviewed: January 11, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |