HSTREAM is a DWORD on 64-bit linux, so let's just pass the address of the stack-allocated object instead.