Hi,
If I want to include my version information in a build, can I modify
GetVersionEx function in the COREOS directory in the private tree? I am
planning to modify the szCSDVersion member of the OSVERSIONINFO. I'm using CE
.Net 4.2. I am not sure about this but I think the licensing might be a
problem, is that correct?
Thanks a lot,

Re: Private Code Tree by Celeste

Celeste
Mon Sep 27 16:41:06 CDT 2004

As far as I know, you cannot tweak the code in the private tree, but I'll
verify with someone and get back to you. Or maybe one of the eMVPs can say
for sure.

Thanks,
Celeste


"Kursad" <Kursad@discussions.microsoft.com> wrote in message
news:31901302-23E2-4DE3-9869-0E425D9A5945@microsoft.com...
> Hi,
> If I want to include my version information in a build, can I modify
> GetVersionEx function in the COREOS directory in the private tree? I am
> planning to modify the szCSDVersion member of the OSVERSIONINFO. I'm using
> CE
> .Net 4.2. I am not sure about this but I think the licensing might be a
> problem, is that correct?
> Thanks a lot,
>



Re: Private Code Tree by Steve

Steve
Mon Sep 27 16:50:37 CDT 2004

In V4.2 and earlier you cannot alter the private code. In V5.0 and later the
Shared Source License includes Commercial Derivatives so you can ship
modified code (so long as you are paying the OS license for the device
already)

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: Private Code Tree by Steve

Steve
Mon Sep 27 17:34:51 CDT 2004

You can read the actual Shared Source License that is installed with
Platform Builder as it is _THE_ definitive source of information on the
matter.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: Private Code Tree by K

K
Wed Sep 29 03:19:09 CDT 2004

Here is some hacking for this...
You could write your own wrapper coredll.dll and implement all of the
function export by coredl.
Mean while rename the original coredll to some other name, for example the
coredll.org.
Then your wrapper coredll.dll will redirect all of the APIs call into the
coredll.org except the GetVersionEx.

The main issue of this hack is
1) the overhead of every API calls
2) it is very inextricable to write such a wrapper coredll.


"Kursad" <Kursad@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:31901302-23E2-4DE3-9869-0E425D9A5945@microsoft.com...
> Hi,
> If I want to include my version information in a build, can I modify
> GetVersionEx function in the COREOS directory in the private tree? I am
> planning to modify the szCSDVersion member of the OSVERSIONINFO. I'm using
CE
> .Net 4.2. I am not sure about this but I think the licensing might be a
> problem, is that correct?
> Thanks a lot,
>



Re: Private Code Tree by Kursad

Kursad
Wed Sep 29 08:57:02 CDT 2004


Hi,
Thanks a lot for the responses. What I'm trying to do is to use
dwBuildNumber and szCSDVersion members of OSVERSIONINFO structure to return
my own version information. How can I do this without modifying the private
code?
Thanks again,
Kursad

"Steve Maillet (eMVP)" wrote:

> You can read the actual Shared Source License that is installed with
> Platform Builder as it is _THE_ definitive source of information on the
> matter.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups
>
>
>

Re: Private Code Tree by Steve

Steve
Wed Sep 29 09:28:30 CDT 2004

You can't do what you want without modifying the code the shared source
code. Why do you want to do this? GetVersionEx returns the OS version
information that is defined by Microsoft. There are other ways to get your
build specific information What are you trying to do (Big Picture)

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: Private Code Tree by Kursad

Kursad
Wed Sep 29 12:47:02 CDT 2004


Hi Steve,
What I'm trying to do is this:
We want to use a system management software that calls GetVersionEx() to
find out whether an OS update is necessary or not. I already asked the
application developers if it is possible to use another API (currently, to
report my own version information I am using IOCTL_HAL_GET_DEVICE_INFO ioctl)
however I haven't received a response yet. Therefore I decided to investigate
whether changing GetVersionEx() and/or OSVERSIONINFO is possible or not.
Since it looks like this API is not meant to be modified, I think I will
stick with GET_DEVICE_INFO and try to force the application writers to alter
their code :) Please let me know if there is an alternative or preferred
method for OEMs to report their own version information. Thanks a lot for the
help,
Kursad

"Steve Maillet (eMVP)" wrote:

> You can't do what you want without modifying the code the shared source
> code. Why do you want to do this? GetVersionEx returns the OS version
> information that is defined by Microsoft. There are other ways to get your
> build specific information What are you trying to do (Big Picture)
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups
>
>
>