Visual Basic .NET


Starts and stops output to the specified device.

Dim Ret As Integer               ' Return value

Dim AppId As Short

 

'----------------------------------------

' Please refer to "Init Processing"

'----------------------------------------

 

'----------------------------------------

' Signal output start processing

'----------------------------------------

Ret = GenStartOperation (AppId )

If Ret <> 0 Then

    System.Diagnostics.Debug.WriteLine("Error occurred in Gen StartOperation " & Ret)

End If

 

'----------------------------------------

' Signal output stop processing

'----------------------------------------

Ret = GenStopOperation ( AppId )

If Ret <> 0 Then

    System.Diagnostics.Debug.WriteLine("Error occurred in GenStopOperation " & Ret)

End If

'----------------------------------------

' Please refer to "Exit Processing"

'----------------------------------------