DscSetUserInterruptFunctionType

Universal Driver Documentation
Installs a user-provided function on a single interrupt type 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 dscSetUserInterruptFunctionType(DSCB board, DSCUSERINTFUNCTION* dscuserintfunction, DWORD int_type);

Function Parameters

NameDescription
boardThe handle of the board to operate on
dscuserintfunctionData structure containing information on the user interrupt function. See the definition DSCUSERINTFUNCTION.
int_typeThe interrupt type (one of INT_TYPE_*) to attach the function to

Return Value

Error code or 0.


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