[vbox-dev] should RTFILE be unint64_t on Amd 64?

Knut St. Osmundsen bird at sun.com
Fri Jul 3 10:04:11 GMT 2009


Huihong Luo wrote:
> otherwise, it does not work under windows 7 kernel mode, since it uses
> 64-bit for file handles, eg.,
>  
> 0xFFFFFFFF 080002BC
>  
> after i change RTFILE to uint64_t, then works.
>  
> Wonder if make sense to alway make the change for 64-bit systems.

HANDLE is IIRC a PVOID on Windows, so it does make sense to change
RTFILE to a HCUINTPTR sized type. I've created an internal task for
implementing this.

-- 

Kind regards / Mit freundlichen Gruessen / Vennlig hilsen,
  Knut

--

Sun Microsystems GmbH        Knut St. Osmundsen
Werkstrasse 24               Senior Staff Engineer, VirtualBox
71384 Weinstadt, Germany     mailto:bird at sun.com


================================================
Sitz der Gesellschaft: Sun Microsystems GmbH,
Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder,
Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering
================================================




More information about the vbox-dev mailing list