Displaying 2 results from an estimated 2 matches for "hsession".
Did you mean:
session
2014 Jan 28
1
safenet eToken 5100 pkcs11 bug(?)
...;
flags: 601
CKF_RNG
CKF_DUAL_CRYPTO_OPERATIONS
CKF_TOKEN_INITIALIZED
Returned: 0 CKR_OK
6: C_OpenSession
2014-01-28 03:26:42.353
[in] slotID = 0x0
[in] flags = 0x6
pApplication=(nil)
Notify=(nil)
[out] *phSession = 0x3c60002
Returned: 0 CKR_OK
7: C_FindObjectsInit
2014-01-28 03:26:42.353
[in] hSession = 0x3c60002
[in] pTemplate[1]:
CKA_CLASS CKO_PUBLIC_KEY
Returned: 0 CKR_OK
8: C_FindObjects
2014-01-28 03:26:42.353
[in] hSession = 0x3c60002
[in] ulMaxObjectCount = 0x1
[out] ulObj...
2008 Jan 04
5
win32-api callback causes ruby to application error (crash).
....unpack("L*"), nLevel.unpack
("L*"),
nTranslateMode.unpack("L*"), nRetransmitMode.unpack("L*"))
puts "SnmpGetLastError: #{SnmpGetLastError.call(nil)}"
SNMPAPI_CALLBACK = API::Callback.new(''LLLLPP'', ''L''){ |hSession, hWnd, wMsg,
wParam, lParam, lpClientData|
puts "Trap Recieved!"
}
session = SnmpCreateSession.call(nil, 0, SNMPAPI_CALLBACK, nil)
puts "SnmpCreateSession: #{session}"
puts "SnmpGetLastError: #{SnmpGetLastError.call(session)}"
SNMPAPI_ON = 1
result = SnmpRegister.c...