Re: how to load in a build in driver whose index is greater 10 in Windows CE



Hi, Steve, thank you for your reply.

I know I can open it with the $device mount point: "\$device\VCA12".
But I likt this VCA12 as a build in driver, which will be load when the
sytem boots up. I already have VCA0 to VCA9. All of them have a
registry key like this:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Sample]
"Prefix"="VCA"
"Dll"="sample.dll"
"DeviceArrayIndex"=dword:12
"Index"=dword:0
"Order"=dword:30

the question is how to create a registry key for the VCA12, so it can
load in at the boot time.

thanks,

Mike.
Steve Schrock [MS] wrote:
Why is VCA_Init failing?

If it is failing due to a device naming issue, here is the answer. The
prefix-index-colon name is limited to 10 instances (0-9). If you are using
CE 5.0 or greater, you can actually use an index greater than 9. However
instead of opening "VCA12:", you will need to open the driver instance from
the $device mount point: "\$device\VCA12"

Take a look at the "Device File Names" topic in PB Help or MSDN for more
information about this.

--
Steve Schrock
Windows Devices Core BSPs

This posting is provided "AS IS" with no warranties, and confers no rights.

<suqian99@xxxxxxxxxxx> wrote in message
news:1167238862.302385.148420@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi, All.

I want to load in a WinCE driver, its index is 12. How to do it?

My registry file is like this:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Sample]
"Prefix"="VCA"
"Dll"="sample.dll"
"DeviceArrayIndex"=dword:12
"Index"=dword:12
"Order"=dword:30

But i failed at the VCA_Init function.

any trick to do this?

thanks,

Mike.


.



Relevant Pages

  • Re: how to load in a build in driver whose index is greater 10 in Windows CE
    ... So you mean that I already have the VCA18 driver loaded if I have the ... You must use the $device mount point to reference such a driver. ... But I likt this VCA12 as a build in driver, which will be load when the ... the question is how to create a registry key for the VCA12, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: White progress bar during startup
    ... Loaded driver \WINDOWS\system32\ntoskrnl.exe ... Did not load driver ACPI Uniprocessor PC ... Did not load driver Audio Codecs ...
    (microsoft.public.windowsxp.help_and_support)
  • XP Pro crashes
    ... The bootlog shows an awful lot of 'Failed to load' entries so I'm taking the liberty of posting the whole bootlog here in the hope that someone can give me some pointers as to what is going on. ... Did not load driver WAN Miniport ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Newbie Questiion
    ... You also come across as a very inexperienced driver when you say that a driver is stuck to take a illegal load. ... Microsoft actually paid no tax at all in 1999, despite $12.3 billion in reported U.S. profits. ... Corporate tax welfare slashed Worldcom’s tax bill by $5.3 billion over the past five years. ...
    (misc.transport.trucking)
  • Re: DRI seems to bee broken
    ... May 3 11:23:06 schlepptop kernel: The Regents of the University of California. ... Adds ~128k to driver. ... # To include support for VGA VESA video modes ... Load "dbe" ...
    (freebsd-current)