DscSetUserInterruptFunction

Universal Driver Documentation
Installs a user-provided function attached to all interrupt types for later execution either alone or in conjunction with another driver interrupt function. In DOS, the user-provided function may not call other Universal Driver functions to operate on the board, since at the time of execution the board will be locked by the driver and unavailable to the function. In other operating systems this restriction does not apply.

Function Definition

BYTE dscSetUserInterruptFunction(DSCB board, DSCUSERINTFUNCTION* dscuserintfunction);

Function Parameters

NameDescription
boardThe handle of the board to operate on
dscuserintfunctionData structure containing information on the user interrupt function. See the definition DSCUSERINTFUNCTION.

Return Value

Error code or 0.


This page was last modified 16:00, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.