Re: GetVersionEx - dwBuildNumber how to change
- From: "Steve Maillet [MSFT]" <smaillet_at_microsoft_com@xxxxxxxxxx>
- Date: Tue, 29 Apr 2008 16:46:50 -0700
<cis@xxxxxxxxxxx> wrote in message news:6f5e7145-0ae4-48e5-a3bd-af2c27da18c6@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 24 Apr., 05:34, Mark <M...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:I want to change the value returneddwBuildNumber- it always returns zero,
GetVersionEx() is defined in apis.c wich is prebuild by Microsoft. So
changing CE_BUILD_VER does not change this behaviour without
rebuilding apis.c (which is both prohibited by Microsoft).
Only Microsoft knows which version CE_BUILD_VER had when apic.c was
build.
Correct the version information provided by that API is for the core OS itself and thus owned by Microsoft. It would be disastrous to applications developers if every OEM changed that. You can however provide your own APIs to fetch version numbers related to your specific device.
--
Steve Maillet
Program Manager - .NET Micro Framework
http://blogs.msdn.com/smaillet
.
- Follow-Ups:
- Re: GetVersionEx - dwBuildNumber how to change
- From: Paul G. Tobey [eMVP]
- Re: GetVersionEx - dwBuildNumber how to change
- References:
- GetVersionEx - dwBuildNumber how to change
- From: Mark
- Re: GetVersionEx - dwBuildNumber how to change
- From: cis
- GetVersionEx - dwBuildNumber how to change
- Prev by Date: Re: Setting up registers on PXA270?
- Next by Date: Re: Setting up registers on PXA270?
- Previous by thread: Re: GetVersionEx - dwBuildNumber how to change
- Next by thread: Re: GetVersionEx - dwBuildNumber how to change
- Index(es):
Relevant Pages
|