Displaying 1 result from an estimated 1 matches for "nmajorversion".
Did you mean:
majorversion
2008 Jan 04
5
win32-api callback causes ruby to application error (crash).
...mp32'')
SnmpCreateSession = API.new(''SnmpCreateSession'', ''LLKP'', ''L'', ''Wsnmp32'')
SnmpRegister = API.new(''SnmpRegister'', ''LLLLPL'', ''L'', ''Wsnmp32'')
nMajorVersion = 0.chr * 4
MinorVersion = 0.chr * 4
nTranslateMode = 0.chr * 4
nRetransmitMode = 0.chr * 4
nLevel = 0.chr * 4
result = SnmpStartup.call(nMajorVersion, MinorVersion, nLevel,
nTranslateMode, nRetransmitMode)
puts "SnmpStartup: #{result}"
printf("nMajorVersion: %s MinorVersion: %s nLev...