warning C4101: 'type' : unreferenced local variable
warning C4101: 'time' : unreferenced local variable
warning C4101: 'len' : unreferenced local variable