Windows Interrupt Support Class Help
The normal way of communicating with a DLL is by calling functions in the DLL. However, there are cases in which other communication methods are needed. The most typical case is that of an interrupt service routine in a DLL that must notify the application that the interrupt occurred. This must be implemented through some form of callback function.
LabWindows/CVI can recognize messages posted by a DLL through the Windows Software Development Kit (SDK) PostMessage function and initiate a user callback function. This method is useful for hardware interrupts, but it is subject to the latency associated with Windows messaging. Use the following functions to allow LabWindows/CVI to recognize Windows messages from a DLL:
RegisterWinMsgCallback
UnRegisterWinMsgCallback
GetCVIWindowHandle
GetCVIWindowHandleForCurrThread
Library: User Interface Library