Utility Library Chapter 8
LabWindows/CVI Standard Libraries 8-12 © National Instruments Corporation
You can use this function in conjunction with EnableBreakOnLibraryErrors to
temporarily suppress the Break on Library Errors feature around a segment of code. It does not
affect the state of the Break on Library Errors check box in the Run Options dialog box of the
Options menu in the Project window.
Note: This function has been superseded by SetBreakOnLibraryErrors.
DisableInterruptsvoid DisableInterrupts (void);
Purpose
Under Windows 3.1 and Windows 95, this function uses the CLI instruction to turn off all
maskable 80x86 interrupts. On UNIX, this function uses sigblock to block all blockable
signals.
Note: For you to be able to use this function under Windows 95, the LabWindows/CVI low-
level support driver must be loaded.
Note: Under Windows NT, the EnableInterrupts and DisableInterrupts
functions have no effect. Interrupts are always enabled while your program is running
at the user (as opposed to the kernel) level.
Parameter
None
Return Value
None
DisableTaskSwitchingvoid DisableTaskSwitching (void);
Note: This function is available only on the Windows versions of LabWindows/CVI.
Purpose
This function prevents the end-user from using one of the following Windows features to switch
another task.