Programming Guide
127
5.4.4
INotify
5.4.4.1 Enable and Disable Event
Purpose
These functions enable or disable event of DI interrupt.
Prototype
C/C++
HRESULT EnableEvent (ULONG EventID, BYTE
*EventHandle, BYTE **Cookie)
HRESULT DisableEvent (ULONG EventID, BYTE *Cookie)
C#
int EnableEvent (uint EventID, IntPtr EventHandle,
out IntPtr Cookie)
int DisableEvent (uint EventID, IntPtr Cookie)
VB.Net
EnableEvent (ByVal EventID As UInteger, ByVal
EventHandle As IntPtr, ByRef Cookie As IntPtr) As
Integer
DisableEvent (ByVal EventID As UInteger, ByValCookie
As IntPtr) As Integer
Parameters
EventID
A user defined positive number
EventHandle
A handle created by user’s application
Cookie
A pointer to retain the address of object created by
EnableEvent routine. This variable is used for releasing this
created object.
Return Value
No error occurs if return value >= 0; if negative value, call AMGet-
ErrorText function to get error information about return codes.
Summary of Contents for HDV62
Page 11: ...vi List of Figures...
Page 25: ...14 Installation Guide...
Page 26: ...Installation Guide 15...
Page 27: ...16 Installation Guide 4 Click next until driver installation is complete...
Page 105: ...94 Programming Guide Video Proc Amp...
Page 163: ...152 ViewCreatorPro Utility...