ADLINK PCIe-2602 User Manual

Page 42

Advertising
background image

32

Function Library

Event Handle

Sets or retrieves event handle, with event and callback

determining recovery of video frame or audio information.

Syntax

C/C++

int Sdi_SetEventHandle (UINT Number, HANDLE

Handle)

int Sdi_GetEventHandle (UINT Number, HANDLE

&Handle)

C#

int SetEventHandle (uint Number, IntPtr Han-

dle)

int SetEventHandle (uint Number, SafeWaitHan-

dle Handle)

int GetEventHandle (uint Number, out IntPtr

Handle)

int GetEventHandle (uint Number, out SafeWait-

Handle Handle)

VB.Net

SetEventHandle (ByVal Number as UInteger,

ByVal Handle as IntPtr) As Integer

SetEventHandle (ByVal Number as U Integer,

ByVal Handle As SafeWaitHandle) As Integer

GetEventHandle (ByVal Number as UInteger,

ByRef Handle as IntPtr) As Integer

GetEventHandle (ByVal Number as UInteger,

ByRef Handle As SafeWaitHandle) As Integer

Parameter(s)

Number

The number of the SDI channel, with allowed values from 0

to 31.

Handle

Event handle created by the application. After the applica-

tion waits for an event, call:

Advertising