Programming
BUF-PCI(PC), BUF-PCI(98)
60
BufPciSetIrqEvent
Function
Specifies a message by an interrupt request event. Specifies a
message by an interrupt request event and starts generating the
event.
Format
(C)
HANDLE
hDevice
;
HANDLE
hWnd
;
DWORD
dwMessage
;
DWORD
dwRet
;
BYTE
bBufIrqNo
;
dwRet
= BufPciSetIrqEvent(
hDevice, hWnd, dwMessage, bBufIrqNo
);
(Visual Basic)
Dim
hDevice
As Long
Dim
hWnd
As Long
Dim
dwMessage
As Long
Dim
dwRet
As Long
Dim
bBufIrqNo
As Byte
dwRet
= BufPciSetIrqEvent(
hDevice, hWnd, dwMessage, bBufIrqNo
)
Argument
hDevice
:
Specify the device handle.
Acquire this device handle with BufPciOpen.
hWnd
:
Specify the handle of the window for receiving
the message by the event.
dwMessage
:
Specify the message number to identify the event
with.
bBufIrqNo
:
Specify the numeric value (0-15) representing an
interrupt request level in IRQ notation.
Return value
dwRet
:
Termination information
Normal termination :
TRUE
Error
:
FALSE
(For more information, see the section, "List of
Return Values.")