module Net::SSH::Authentication::Pageant::Win

def self.ptr_to_dword(ptr)

def self.ptr_to_dword(ptr)
  first = ptr.ptr.to_i
  second = ptr_to_s(ptr, Win::SIZEOF_DWORD).unpack('L')[0]
  raise "Error" unless first == second
  first
end