![Omega OMB-PER-488/W95 Скачать руководство пользователя страница 88](http://html1.mh-extra.com/html/omega/omb-per-488-w95/omb-per-488-w95_user-manual_4058772088.webp)
82 API Command Reference
Personal488 User's Manual For Windows95 and Windows NT
OnDigEventVDM
AT488pnp and PCI488 only
Syntax
INT WINAPI OnDigEventVDM(DevHandleT devHandle, DigEventFuncT
func, OpaqueP lParam);
devHandle
refers to an interface handle.
func
is a user-defined function to be called when the digital match event is triggered.
lParam
value will be passed in the notification message.
Returns
-1
if error
Mode
Any
Bus States
None
Example
OnDigEventVDM(devHandle,
MyFunc, 0x10L);
Sets the event notification to be via a function call to
the specified callback function. The value
0x10
will be passed to the function.
See Also
DigArm, OnDigEventVDM, OnEventVDM
The
OnDigEventVDM
command sets the address of a “C”-style (
__stdcall
) function to be called
when a digital match event occurs. This function uses a similar mechanism as the
OnEventVDM
command. The prototype of the callback function for
OnDigEventVDM
is:
void DigEventFunc( DevHandleT devHandle, LPARAM lParam )
The
lParam
value which is passed to
OnDigEventVDM
is passed on to the callback function when the
event occurs. For details, see the description of
OnEventVDM
.
Note:
This function sets the event generation mechanism to be a callback function, replacing any
previously defined event notification mechanism. Only one event notification mechanism can
be used at one time.
Содержание OMB-PER-488/W95
Страница 1: ......
Страница 4: ...ii Personal488 User s Manual For Windows 95 and Windows NT Notes...
Страница 38: ...32 Personal488 with GP488B Personal488 User s Manual For Windows95 and Windows NT Notes...
Страница 52: ...46 Driver488 W95 Driver488 WNT Personal488 User s Manual For Windows95 and Windows NT Notes...
Страница 136: ...130 Appendix Personal488 User s Manual For Windows95 and Windows NT Notes...
Страница 139: ...Personal488 User s Manual For Windows 95 and Windows NT Index 133 Notes...
Страница 142: ...136 Abbreviations Personal488 User s Manual For Windows95 and Windows NT Notes...