RSC/MP 7.2 Programming Manual

Language Conversion for RSC/MP Function Calls
HP NonStop Remote Server Call (RSC/MP) Programming Manual522360-004
B-6
Visual Basic Function Format
Visual Basic Function Format
Visual Basic function definition:
Global ulConnectionHandle&
Global ulSessionHandle&
Global ulOptionsHandle&
Global acRscErrorString As String * 256
Global acServername As String * 32
Global nIoHandle%
Global uWriteSize%
Global puReadSize%
Global Const SZ_CUSTID% = 18
Global Const SZ_CUSTOMER% = 20
Global Const SZ_ADDRESS% = 30
Global Const SZ_CITY% = 20
Global Const SZ_STATE% = 16
Global Const SZ_ZIP% = 6
Type Customer
custid As String * SZ_CUSTID
name As String * SZ_CUSTOMER
address As String * SZ_ADDRESS
city As String * SZ_CITY
state As String * SZ_STATE
zip As String * SZ_ZIP
End Type
Type pvRequestBuffer
message As Integer
type As Integer
data As customer
End Type
Type pvReplyBuffer
message As Integer
type As Integer
data As customer
End Type