[ros-dev] Distinguish between Windows and ReactOS

Nick Surfer zportua at ukr.net
Mon Nov 5 18:09:02 UTC 2018


Hello all.
Sorry if this mail is off topic of the mail-list, but am not sure which one is right for my question.
I am writing a program which needs to know exact environment in which it is running. In case of Windows I simply use GetVersionEx and then analyze dwMajorVersion + dwMinorVersion which is enough for my case (then I know which WIN API calls I should use). But I stuck how to recognize that my program runs in ReactOS. I failed to find any docs about it. Any help is appreciated. 
P.S. I am not well experienced in WIN API, so if someone gives me an example it will be great.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.reactos.org/pipermail/ros-dev/attachments/20181105/a871a12b/attachment.html>


More information about the Ros-dev mailing list