beautypg.com

Sensoray 711 User Manual

Page 32

background image

Sensoray Model 711 Instruction Manual

33

X11_InterruptOff

__declspec(dllexport) ECODE __stdcall X11_InterruptOff (pIntData)

INT_DATA * pIntData;

/* address of the variable of INT_DATA type */

The X11_InterruptOff function disables the interrupts for the particular frame grabber.

Parameter Description

pIntData

Pointer to the global variable containing the interrupt settings.

Returns
The function returns 0 in case of success, or an error code.

Notes
The argument of X11_InterruptOff function should be the same as used in the call to
X11_InterruptOn.

X11_InterruptMask

__declspec(dllexport) ECODE __stdcall X11_InterruptMask (pIntData)

INT_DATA * pIntData;

/* address of the variable of INT_DATA type */

The X11_InterruptMask function masks the interrupts for the particular frame grabber.

Parameter Description

pIntData

Pointer to the global variable containing the interrupt settings.

Returns
The function returns 0 in case of success, or an error code.

Notes
X11_InterruptMask
disables selected interrupt(s) on a hardware level. The interrupt
handling procedures remain active. The argument of X11_InterruptMask function should be
the same as used in the call to X11_InterruptOn.

X11_InterruptUnmask

__declspec(dllexport) ECODE __stdcall X11_InterruptUnmask (pIntData)

INT_DATA * pIntData;

/* address of the variable of INT_DATA type */

The X11_InterruptUnmask function unmasks the interrupts for the particular frame grabber.

Parameter Description

pIntData

Pointer to the global variable containing the interrupt settings.

Returns
The function returns 0 in case of success, or an error code.