Microsoft.public.windowsce.embedded or
Microsoft.public.windowsce.platbuilder
Hi,
I am developing for a headless device with Windows CE.NET 4.1.
The idea is to read the Boot parameters network name that is
automatically built in bootloader, and rewrite in the registry the
machine name just after the initialization of the registry.
The OAL will take BootParams.WinceBootArgs.szDeviceNameRoot and change
the registry value [HKEY_LOCAL_MACHINE\Ident, Name] with
BootParams.WinceBootArgs.szDeviceNameRoot in IOCTL_HAL_INITREGISTRY in
OEMIOControl().
But always I am having exception in NK.exe (access violation) !!!
In OEMInit() when I print with DEBUGMSG() the
pBootArgs->szDeviceNameRoot it is not containing the same value that
was built in the bootloader by CreateDeviceName() Why?
Is there any other way to let me propagate the Device Name (and some
network parameters (IP, ..)...) Which are built in Bootloader to the
OS setting?
Any samples, any link, ...is very appreciate.
Thank you very much for you help.