[ros-dev] Version info
Joseph Galbraith
galb-list at vandyke.com
Mon Dec 20 10:16:03 CET 2004
I can imagine an application that wants to take
advantage of specific ReactOS features wanting
to be able to discern at runtime whether or
not the current system is ReactOS or plain-vanilla
windows.
How about a seperate API (RosGetVersion) to query the
'Reactos Native' version, and let GetVersion() and
GetVersionEx() query the emulated 'Win32' version.
Applications that want to use RosGetVersion() and
still run on windows can easily use 'GetProcAddress'
on 'RosGetVersion()' to tell if they are running
under ReactOS, and if GetProcAddress() succeeds,
they can then call the RosGetVersion() API to find
specific version information.
This seems very clean to me.
- Joseph
Jonathan Wilson wrote:
> Is there any reason for ReactOS to return different values in response
> to operating system version information queries?
>
> Assuming the windows implementation in ReactOS is written correctly,
> ReactOS should look to an app just like whatever version of windows it
> claims to be. (NT4 I think in this case)
>
> IMNSHO, the point of ReactOS (or more specifically those parts that
> match with the API calls that userspace WIN32 applications see and can
> call) is to look as close to <some version of> windows as it is possible
> to get without violating microsoft IP rights somewhere. (e.g. we
> shouldnt look at the leaked MS source code or directly take any code,
> icons or whatever else from MS).
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.com
> http://reactos.com:8080/mailman/listinfo/ros-dev
>
More information about the Ros-dev
mailing list