how to disable devcon and device manager?
i am writing a remote device blocker. i m planning to use setup APIs. i want
to prevent user on client machines from enabling devices by using device
manager or devcon. how can i do it? are there other ways a user can enable
the devices. unauthorized user should not be able to enable/disable devices.
thanks Tag: Which is the latest WDK? Tag: 91635
Startup in Silicon Valley is hiring!
Senior Applications Engineer - Embedded Software
I represent a very sharp company that has been around for a few
years and they are hiring local talent for this company. The leaders
of this company have had successes in startups before and they and
the VC's see this as being another successful venture. The company
was founded in October, 2003 with the goal of building a wireless
technology company offering semiconductor solutions for the wireless
broadband market. Since that time they have established a leadership
position in the WiMAX market including holding a position in the
WiMAX Forum, one of only seven companies worldwide to do so.
Job Overview:
They are currently seeking an experienced and talented APPLICATION
ENGINEER with specific DEVICE DRIVER development, embedded software
and BSP development to provide engineering expertise for the Win XP,
Win CE, VxWorks, specifically for their complete line of WiMAX
products. They need an Applications Engineer for real-time embedded
wireless systems. You will provide primarily pre-sales and
potentially some post-sales technical marketing support for the
development and implementation of customer applications dealing with
embedded wireless systems (there is travel and the amount of travel
varies). You will deliver technical presentations regarding all
aspects of company products. Assist the sales staff in assessing
potential application of company products to meet customer needs and
preparing detailed product specifications. Implements detailed
customer installation requirements. Provide follow-up support in
disseminating technical information on specific applications to
service personnel, company sales representatives, and customer's
employees.
Your key responsibilities will involve the support and integration
of the products into various platforms and product lines, with your
primary focus being in the area of embedded software in the
wireless / mobile phones / PDA products.
You will be responsible for support of Device Drivers in Windows CE,
Windows XP, Linux and other embedded operating system environments
and you will serve as the primary customer technical interface and,
therefore, must have strong communications skills.
We need this person to be a VERY strong communicator and problem
solver, as you will regularly be required to identify, debug and
resolve driver issues on customer platforms, AND to work closely
with the engineering and application solutions teams ( In-House
teams) to identify/understand issues and drive customer problems to
closure.
Requirements
MSEE or MSCS with 6+ years exp. or BSEE or BSCS with 8-15 years exp.
=B7 6 plus years experience developing wireless and networking
products.
=B7 Experience in software development in 802.11, 802.16 802.16e
or other wireless products.
=B7 Experience in Networking standards and stacks.
=B7 Proficient in C/C++ with product development experience.
=B7 Experience with real-time operating systems (RTOS) such as
VxWorks.
=B7 Experience with Device driver development for Windows.
=B7 Adept at using embedded software development tools.
=B7 Conduct design/code reviews internally & with customers.
=B7 System-level knowledge of wireless networking.
=B7 Kernel, OS, Embedded software, BSP development
=B7 Ability to develop test routines in C/C++/Perl/Python or
Assembly to debug and test wireless systems. Please apply if you are
a local candidate to Maryellen O'Connell directly.
maryelleno@volt.com or call me to discuss 415-298-1926 Tag: Which is the latest WDK? Tag: 91631
Startup in Silicon Valley is hiring!
Senior Applications Engineer - Embedded Software
I represent a very sharp company that has been around for a few
years and they are hiring local talent for this company. The leaders
of this company have had successes in startups before and they and
the VC's see this as being another successful venture. The company
was founded in October, 2003 with the goal of building a wireless
technology company offering semiconductor solutions for the wireless
broadband market. Since that time they have established a leadership
position in the WiMAX market including holding a position in the
WiMAX Forum, one of only seven companies worldwide to do so.
Job Overview:
They are currently seeking an experienced and talented APPLICATION
ENGINEER with specific DEVICE DRIVER development, embedded software
and BSP development to provide engineering expertise for the Win XP,
Win CE, VxWorks, specifically for their complete line of WiMAX
products. They need an Applications Engineer for real-time embedded
wireless systems. You will provide primarily pre-sales and
potentially some post-sales technical marketing support for the
development and implementation of customer applications dealing with
embedded wireless systems (there is travel and the amount of travel
varies). You will deliver technical presentations regarding all
aspects of company products. Assist the sales staff in assessing
potential application of company products to meet customer needs and
preparing detailed product specifications. Implements detailed
customer installation requirements. Provide follow-up support in
disseminating technical information on specific applications to
service personnel, company sales representatives, and customer's
employees.
Your key responsibilities will involve the support and integration
of the products into various platforms and product lines, with your
primary focus being in the area of embedded software in the
wireless / mobile phones / PDA products.
You will be responsible for support of Device Drivers in Windows CE,
Windows XP, Linux and other embedded operating system environments
and you will serve as the primary customer technical interface and,
therefore, must have strong communications skills.
We need this person to be a VERY strong communicator and problem
solver, as you will regularly be required to identify, debug and
resolve driver issues on customer platforms, AND to work closely
with the engineering and application solutions teams ( In-House
teams) to identify/understand issues and drive customer problems to
closure.
Requirements
MSEE or MSCS with 6+ years exp. or BSEE or BSCS with 8-15 years exp.
=B7 6 plus years experience developing wireless and networking
products.
=B7 Experience in software development in 802.11, 802.16 802.16e
or other wireless products.
=B7 Experience in Networking standards and stacks.
=B7 Proficient in C/C++ with product development experience.
=B7 Experience with real-time operating systems (RTOS) such as
VxWorks.
=B7 Experience with Device driver development for Windows.
=B7 Adept at using embedded software development tools.
=B7 Conduct design/code reviews internally & with customers.
=B7 System-level knowledge of wireless networking.
=B7 Kernel, OS, Embedded software, BSP development
=B7 Ability to develop test routines in C/C++/Perl/Python or
Assembly to debug and test wireless systems. Please apply if you are
a local candidate to Maryellen O'Connell directly.
maryelleno@volt.com or call me to discuss 415-298-1926 Tag: Which is the latest WDK? Tag: 91630
Does User Mode driver requires a certification?
I was wondering:
I need to develop a driver for my USB device and I found that Vista now
support a User mode driver.
Does that means that those do not require a certification?
Regards,
DC Tag: Which is the latest WDK? Tag: 91627
Can I use safe string functions at raised IRQL?
The WDK states that these functions (RtlStringXXX) must only be used
at IRQL passive level. I need to perform some string operations at
DPC level and all of my strings exist in non paged pool. Is it ok to
use these functions at IRQLs > passive level in these cases? I
noticed that the implementations of all the safe string functions are
in ntstrsafe.h and they are not wrapped in a #pragma PAGED_CODE
section so I suspect that this is ok. Are there any dangers of using
these functions at raised IRQL that I may not be aware of? Tag: Which is the latest WDK? Tag: 91622
Problems with new NVidia NForce4 Drivers Ver.15 Released on Monday
Hi I got Windows VISTA 64bit, and i cant get the new sata driver (non-RAID)
to work....
which entry would i have to select if i would take the manual way over inf
installation?
the only entries i have in the Device manager are the following:
in
IDE ATA/ATAPI Controller
ATA Channel 0
ATA Channel 0
ATA Channel 1
ATA Channel 1
Standart-Dual-Channel PCI-IDE Controller
Standart-Dual-Channel PCI-IDE Controller
i managed to get the driver in this list...through manual inf-install, took
the second dualchannel controller, first didnt work...
But now PIOmode is the only mode i can choose;((
command queing isnt availabe ;((( (grayed out)
Now my SATA Samsung sp2004c shows up as sp2004c SCSI device in device
manager ?? what means that? i got no raid enabled or raid software installed
as far as i know^^
Btw. i have got this sysconfig:
64-bit AMD CPU
NFORCE 4 Ultra Chipset /ASUS a8ne w/o SLI
2 Gig Corsair
Only SATA Channels 1 is active the others are not needed atm and
disabled in bios->tried to activate, didnt solve the problem
2 CD-Rom Drives on seperate IDE-cables each configed as Master.. Tag: Which is the latest WDK? Tag: 91620
Volume mount fails after Volume{Class-GUID} exceeds 9999
I am unable to create partition/assign drive letter for disk drive. Up on
checking the registry
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}"
the subkeys number reached maximum limit i.e 9999.
( http://www.microsoft.com/technet/prodtechn...7.mspx?mfr=true )
at the same time, if I delete a subkey from then list, I am able to
create/mount the volume.
looks like, Windows keeps the subkeys of volumes which is no longer valid (
disks were initially presented to the host and later removed)
is this a microsoft limitation? is there any workaround to remove all the
invalid references so that operation succeeds Tag: Which is the latest WDK? Tag: 91613
MSI install bus driver
Hi all,
I'm usind WIX and DifxApp to install drivers (MSI packages), until now the
drivers installations have been ok.
But Is it possible to manage Bus Drivers installation by MSI ?
I've no error on generating the package (installation's files are ok)
the problem is when i install the bus,i've no error too but the installation
seems to be the same as a "simple" driver, the system waits for a "plug
device" to finish the installation!
=> Only a pre-installation is done!
Is there anything special for a Bus driver package to do?
Or it's simply not possible?!
Thanks
Rach. Tag: Which is the latest WDK? Tag: 91608
test signing server 2003
hi, i'm using MSI and difxapp.wixlib to install drivers.
I've signed myself each driver package, using cross selfsign tools:
1-creat a certificate (installed it on the tageted computer: "Trusted Root
Certification Authorities" and "Trusted Publishers")
2-creat a cat file for my package
3-inslall my driver...
all is OK on Wds 2000, XP, Vista...
but on Wds server 2003 i've the pop-up for an unsigned driver, even if my
cat file is ok and the certificate installed .
Have i to do something else for Serv2003? Tag: Which is the latest WDK? Tag: 91607
Showing Advanced Tab for recording endpoints in Vista
Hi,
I'm having some issues to show the advanced tab of my recording endpoints in
Vista. I've implemented an audio driver using AVStream architecture for a
USB device. For the capture pin, my driver support DataRangeIntersection
calls.
What I found is that in order for the advanced tab to be shown, I must allow
for multiple instances of the recording pin to be created. But I'm only
prepared to support 1 instance of recording pin, and the advanced tab does
not show up when I support only single pin instance.
Can anyone provide some help? Thanks
KS Tag: Which is the latest WDK? Tag: 91604
Compilation Erro
I'm writing a legacy driver. I'm getting error FILE_DEVICE_UNKNOWN not
defined error. I'm using Visual Studio 2005 as Development Eng. Please Help
me to build my driver successfully. Tag: Which is the latest WDK? Tag: 91601
Drivers
I am having trouble with 3 drivers at this time.
I cannot get Bluetooth to work on my hp dv2000t. I reinstalled drivers, and
would have fully functioning Bluetooth, and if I restart it hangs and
windows will not load. I have to boot to last know good working
configuration. Then Bluetooth no longer works and I cannot fix it.
I also cannot connect my iPod. It continues to search for drivers and
nothing. I cannot find any online, and I have installed iTunes and
uninstalled and still nothing.
Today I stuck my memory stick pro into my integrated memory card reader, and
it searched and searched for drivers. Nothing again. SO I looked for
drivers. Found them, installed them, and now all I get is a safely remove
hardware icon in the system tray. I cannot get to the actual device to
remove the pictures or see what's on it. OR DO ANYTHING...
I have been messing with this computer all dang day and I really need some
help. Please if you have these issues and have resolved them, help me too!!
Also if you have no issues and your plug and play devices work fine. Let me
know I want to know if there is something I am missing.
Thanks in advance!
Marie Tag: Which is the latest WDK? Tag: 91599
can i use setupAPIs in a cd-rom driver?
can we use setupAPIs for writing device drivers especially a cd-rom driver?
thanks Tag: Which is the latest WDK? Tag: 91595
Mouse driver for shared PS/2 for Win NT
Hello ,
I need to write a Win NT driver for shared PS/2 Connection.
I`m a beginner for driver developing but a good C++ - Programmer /Developer .
Now my Questions:
Can I write Win NT driver with the new DDK ?
How can I learn fastest to write them.
Have someone an example for a Mousedriver / PS/2 ?
Thanks in advance
Sönke Tag: Which is the latest WDK? Tag: 91594
Is there any difference in ftp xfer done via Internet explorer and ftp xfer done when window opened in windows explorer?
Hi,
When I goto an ftp site in Internet Explorer, I see an option Page->"Open
ftp site in Windows Explorer".
I see that throughput drops and it takes mroe time for xfer when I choose
to use 'Open ftp site in Windows Explorer".
Are there any differences between this option and the regular ftp interms
of app behaviour?
Regards,
-Praveen Tag: Which is the latest WDK? Tag: 91590
Camera Custom Property Page Sample code
Hi, Does anyone know which CD-ROM or DVD contains property page sample
code released by Microsoft dated 1998. I have searched platform SDK
2000, 2001, and 2005, but nothing comes up. This sample code will
generate a camprop.ax file that will be installed and worked with a
WDM driver. I believe one of file name is camprop.cpp. Tag: Which is the latest WDK? Tag: 91588
Toaster Filter driver
Hello guys,
I have a question. I have modified some of the KMDF toaster sample
filter driver from WDK6000 and tried to install this to one of usb
function driver to see if I can get the right IRPs from it. But
unfortunately I couldn't make it work when I install it with the INF
file coming with the sample code. How can I modify this INF file to
make it sit on top of one of the USB devices? or is there a simple way
to do it manually as use to be with the WDM??
I used to make a registry key "UpperFilters" in the designated device
and disable/enable the device manually, then it was working fine. How
can I do this with the KMDF? Should I always use the INF to install
it? even to the filter driver?
Thank you. Tag: Which is the latest WDK? Tag: 91586
SetupDiGetClassDevs couldn't detect medium changer
hello all,
I am workinging on SPTI to access my SCSI medium changer (Jukebox)
with blueray drive. Now I have trouble to detect medium changers. I
can see "unknown medium changer" showup in Device Manager.
code like this:
guid = (GUID*)&GUID_DEVINTERFACE_MEDIUMCHANGER;
// Get device interface info set handle for all devices attached to
system
HDEVINFO hDevInfo = SetupDiGetClassDevs(guid, NULL, NULL,
DIGCF_PRESENT | DIGCF_DEVICEINTERFACE);
......
while ( SetupDiEnumDeviceInterfaces(hDevInfo, NULL, guid, dwIndex,
&devInterfaceData))
{
..........
if( SetupDiGetDeviceInterfaceDetail(hDevInfo, &spdid, pspdidd,
dwSize, &dwSize, &spdd))
{
HANDLE hDrive = CreateFile(pspdidd->DevicePath, 0, FILE_SHARE_READ
| FILE_SHARE_WRITE, NULL, OPEN_EXISTING, NULL, NULL);
............................
}
}
It always return 0 item when doing enumeration. I also tried
createfile on "\\.changer0". none of those work. does anyone have any
idea? Thanks
Fred Tag: Which is the latest WDK? Tag: 91585
When exactly USBD_STATUS_ISO_NOT_ACCESSED_BY_HW is reported ?
Hi,
To give you a little background of my query, We are developing a USB
Host Controller and it is expected to work with the standard HCDs
(usbehci / usbohci) on Windows XP SP2.
All the devices, except high-speed isochronous (camera), work
properly.
With the HS camera (logitech) we see that enumeration is all success,
but we don't see any picture. Upon debugging further we observed that
the client driver of the camera gets all the packets back with the
status 'USBD_STATUS_ISO_NOT_ACCESSED_BY_HW' !
The URBs are posted with USBD_START_ISO_TRANSFER_ASAP flag set.
On the bus however we see the Isoch transactions going (and device
responding to it).
As very little information is available on this, I was curious as to
when the USBEHCI resorts to this return value. Exactly what causes it
to deduce that 'the controller did not access the TD asocated with
this packet' ?
Any pointers will be greatly appreciated.
Thanks and Regards,
Abhijit Tag: Which is the latest WDK? Tag: 91584
WHQL for mirror drivers
hi everyone,
how should I start to participate to WHQL with a mirror driver?
I cannot find in miscrosoft tones of docs of which category this mirror
driver belongs and how should I start.
After all the searches I guess this is unclassified, but how can I be sure?
thanks in advance Tag: Which is the latest WDK? Tag: 91583
1394 Driver Install Prompts When Only Chip ID Differs
Hi All,
Is there any way to prevent the user from being prompted for
.inf and .sys files when a second or more 1394 device is plugged
in of the same type? e.g. When only the Chip ID of my device is
different?
It seems Windows should recognize when it sees a second 1394
device of the same manufacturer and device name (but only the
chip id differs) and load the driver for that device.
It seems that this can be done since I'm not prompted,
for instance, when two different USB memory sticks are plugged
in of the same model.
Thanks in advance.
As always, any help is appreciated.
Thanks,
Scott Kerchner Tag: Which is the latest WDK? Tag: 91579
Mirror Driver Installation
I need to install mirror driver with minimal user interaction during
application setup. WDK help mentions driver file destination folders. What
must I do to make system accept the driver and enlist it in device manager?
What action is required for uninstall? Tag: Which is the latest WDK? Tag: 91577
Network adapters immediately re-detected/installed after uninstall
Can anyone explain why, when uninstalling a network adapter class device, the
OS immediately reinstalls it. Sometimes even while the uninstall is still in
progress? Or can anyone confirm that this is actually a bug in Vista?
It doesn't appear to happen with any other device class - just network
adapters. Uninstalling any other class makes it's instance disappear from
Device Manager. With network adapters though, it looks like there is a PnP
refresh and it re-detects the hardware.
Thanks Tag: Which is the latest WDK? Tag: 91575
Can't attach buffer into resource for 1394
I am using two PCs, one Transmits and other receives. On transmiting
side, I have BW allocated, channel 3 allocated, resource allocated,
but
I failed to attach buffers when i use default params of win1394.exe
of
DDK sample.
What's different between the MaxBytesPerFrame of allocating
resource and that of attaching buffers??? Are they necessarily the
same?
Could anyone give me one set of parameters used for
successfully
transmiting and receiving Isoch data..I want to know BW used, channel
used, number of buffers, number of Isoch descriptors used, Max. Packet
size, speed, Buffer size.
I feel I am making mistake in giving param values.
Alan Tag: Which is the latest WDK? Tag: 91570
Job at startup in Silicon Valley for Device Driver Software Engineer candidate!!
Senior Applications Engineer - Embedded Software
I represent a very sharp company that has been around for a few years
and they are hiring local talent for this company. The leaders of this
company have had successes in startups before and they and the VC's
see this as being another successful venture. The company was founded
in October, 2003 with the goal of building a wireless technology
company offering semiconductor solutions for the wireless broadband
market. Since that time they have established a leadership position in
the WiMAX market including holding a position in the WiMAX Forum, one
of only seven companies worldwide to do so.
Job Overview:
They are currently seeking an experienced and talented APPLICATION
ENGINEER with specific DEVICE DRIVER development, embedded software
and BSP development to provide engineering expertise for the Win XP,
Win CE, VxWorks, specifically for their complete line of WiMAX
products. They need an Applications Engineer for real-time embedded
wireless systems. You will provide primarily pre-sales and
potentially some post-sales technical marketing support for the
development and implementation of customer applications dealing with
embedded wireless systems (there is travel and the amount of travel
varies). You will deliver technical presentations regarding all
aspects of company products. Assist the sales staff in assessing
potential application of company products to meet customer needs and
preparing detailed product specifications. Implements detailed
customer installation requirements. Provide follow-up support in
disseminating technical information on specific applications to
service personnel, company sales representatives, and customer's
employees.
Your key responsibilities will involve the support and integration of
the products into various platforms and product lines, with your
primary focus being in the area of embedded software in the wireless /
mobile phones / PDA products.
You will be responsible for support of Device Drivers in Windows CE,
Windows XP, Linux and other embedded operating system environments and
you will serve as the primary customer technical interface and,
therefore, must have strong communications skills.
We need this person to be a VERY strong communicator and problem
solver, as you will regularly be required to identify, debug and
resolve driver issues on customer platforms, AND to work closely with
the engineering and application solutions teams ( In-House teams) to
identify/understand issues and drive customer problems to closure.
Requirements
MSEE or MSCS with 6+ years exp. or BSEE or BSCS with 8-15 years exp.
=B7 6 plus years experience developing wireless and networking products.
=B7 Experience in software development in 802.11, 802.16 802.16e or
other wireless products.
=B7 Experience in Networking standards and stacks.
=B7 Proficient in C/C++ with product development experience.
=B7 Experience with real-time operating systems (RTOS) such as VxWorks.
=B7 Experience with Device driver development for either Windows.
=B7 Adept at using embedded software development tools.
=B7 Conduct design/code reviews internally & with customers.
=B7 System-level knowledge of wireless networking.
=B7 Kernel, OS, Embedded software, BSP development
=B7 Ability to develop test routines in C/C++/Perl/Python or Assembly to
debug and test wireless systems.
Please apply if you are a local candidate to Maryellen O'Connell
directly. maryelleno@volt.com or call me to discuss 415-298-1926 Tag: Which is the latest WDK? Tag: 91561
Binplace - how to use?
I've read http://msdn2.microsoft.com/en-us/library/ms791451.aspx , but
what it suggests just doesn't seem to work as expected.
Short summary of things: I've installed WDK 6000.16384. I've got
the following directory setup:
d:\full\ (empty)
d:\mini\ (empty)
d:\InfinitySnapshot\ , contains Infinity_O.exe and Infinity_O.pdb
In the directory I run binplace from, I've got a file
'placefil.txt', which has the following contents:
---
Infinity_O.exe retail
---
If I run binplace as follows, I get the following results:
binplace -v -a -x -r d:\full -s d:\mini -p ./placefil.txt d:\InfinitySnapshot\Infinity_O.exe
BINPLACE : warning GNA0293: Not a response file (-a)
BINPLACE : warning GNA0293: Not a response file (-x)
BINPLACE : warning GNA0293: Not a response file (-r)
BINPLACE : warning GNA0293: Not a response file (d:\full)
BINPLACE : warning GNA0293: Not a response file (-s)
BINPLACE : warning GNA0293: Not a response file (d:\mini)
BINPLACE : warning GNA0293: Not a response file (d:\mini)
BINPLACE : warning GNA0293: Not a response file (-p)
BINPLACE : warning GNA0293: Not a response file (./placefil.txt)
BINPLACE : warning GNA0293: Not a response file (./placefil.txt)
BINPLACE : warning GNA0293: Not a response file (d:\InfinitySnapshot\Infinity_O.exe)
BINPLACE : warning BNP0000: Looking at file Infinity_O.exe
BINPLACE : warning BNP0000: place d:\InfinitySnapshot\Infinity_O.exe in d:\full\.\Infinity_O.exe
BINPLACE : warning GNA0127: Command line finished
After this is done, d:\full\Infinity_O.exe exists, and is the same
size in KB as the copy d:\InfinitySnapshot . There is no pdb file
here. Under d:\mini, there's 2 directories created, d:\mini\retail\exe
However, no files are placed under d:\mini
What I want is a stripped .pdb, containing only the public symbols
(line #s). Infinity_O.exe and .pdb were created with VS.NET 2003, and
I know that the .pdb is valid. Any tips for how to achieve this? Thanks.
Nathan Mates
--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein Tag: Which is the latest WDK? Tag: 91556
Where should I post questions for the Device Simulation Framework
Hi,
is there a good place to post questions regarding the Device Simulation
Framework (USB device sim) ?
Not able to use the SoftUSBEndPointEvents events in managed code...
Thks in advance. Tag: Which is the latest WDK? Tag: 91555
Coinstaller question
Hi all,
I have the following fragment in my inf file:
[DestinationDirs]
MyCoInstaller.CopyFiles = 11
[MyModelSection]
"Printer Name" = MY_DRV,MY_PNP
[MY_DRV]
CopyFiles = ...
DriverFile = ...
ConfigFile = ...
DataFile = ...
HelpFile = ...
[MY_DRV.CoInstallers]
AddReg = MyCoInstaller.AddReg
CopyFiles = MyCoInstaller.CopyFiles
[MyCoInstaller.AddReg]
HKR,,CoInstallers32,0x10000,"mycoinst.dll,MyEntryPoint"
[MyCoInstaller.CopyFiles]
mycoinst.dll,,,0x10
[SourceDisksFiles]
mycoinst.dll = 1,,
mycoinst.dll is in the root of the driver package.
After the installation the following appears in the setupapi.dev:
ndv:Installing interfaces...
dvi:{DIF_INSTALLINTERFACES} 15:40:37.368
!!!dvi: Loading module 'C:\Windows\system32\mycoinst.dll' failed.
!!!dvi: Error 126: The specified module could not be found.
!!!dvi: Error 126 loading CoInstaller(mycoinst.dll,MyEntryPoint)
!!!dvi: Error 126: The specified module could not be found.
dvi: No CoInstallers found
I expected to have the coinstaller mycoinst.dll in Windows\system32
because of the CopyFiles in the CoInstallers section but it is obvious
that it was not there.
If I add the MyCoInstaller.CopyFiles in the [MY_DRV] section like this:
[MY_DRV]
CopyFiles = MyCoInstaller.CopyFiles, ...
...
everything is fine.
Am I missing something?
Thanks Tag: Which is the latest WDK? Tag: 91553
Filesystem overlay (poor mans unionfs)
Hi there.
For a legacy application that expects all its customization (.dlls,
mostly) in its working directory and because I need to constantly
switch projects (which involves "copy the working directory, replace
it with another one and restart") I searched for a kind of unionfs[1]
for windows, which would allow me to create a logical view on the
application directory which includes external directories as
neccessary.
Sample:
C:\MyApp\Bin\
C:\MyApp\Projects\Foo\
I'd like to map all file requests that would fail for the Bin to check
another directory again.
Being new to this stuff (and doing it out of lazyness, since the
process described above sucks) I'd love to hear that this barely
involves dispatching IRP_MJ_CREATE?
My current idea would be to deploy a minifilter which does the
following steps in the PreCreate event:
- Check if this request wants a file inside of my Bin directory., else
ignore the request
- Check if the request is readonly (no create file, no append), else
ignore the request
- Check if the requested file exists (ZwFileOpen?) and
- ignore the request if the file exists
- redirect the request to the overlay directory otherwise (setting
the filenameinfo and marking the request as dirty)
Since I'm bloody new here: Can anyone comment on obvious mistakes? Is
this too hard for a beginner's (talking about drivers here) task?
Thanks in advance,
Ben Tag: Which is the latest WDK? Tag: 91547
WDF supplied functions send reset packet twice through USB
Hi All.
I am using wdf to make a usb dfu driver. Trying to reset USB device through
the call of WdfUsbTargetDeviceResetPortSynchronously or
WdfUsbTargetDeviceCyclePortSynchronously I see in the trace that both of them
reset device twice. That behavior prevents dfu from proper work.
Is it made intentionally? Or am I wrong? How to reset device just single
time using wdf?
--
Thanks, Stanislav. Tag: Which is the latest WDK? Tag: 91544
Vista Printer Drivers
Can anyone tell me when the Lexmark Vista drivers will be released namely
X8350 any help would be good as I cannot use my printer with vista
Mal Tag: Which is the latest WDK? Tag: 91542
SDDL string in NdisRegisterDeviceEx()
Hi all, further:
Running with an SDDL string of "D:P(A;;GA;;;SY)(A;;GA;;;BA)
(A;;GRGW;;;BU)(A;;GRGW;;;WD)" and calling NdisRegisterDeviceEx()
retruns STATUS_SUCESS,
In WinObj I can see the device, and its security is set to:
System, Administrators and Everyone: Delete and Query State are
checked in the Allow column, everything else is unchecked.
Restricted, Query State is checked in the Allow collumn, everything
else is unchecked.
What ever I set the SDDL to this doesnt change, which is odd.
With the result that I cannot open the symbolic link from user land.
(My dispatch handler is _not_ getting hit)
This is a Miniport ontop of a multifunction USB bus driver (ours). Is
there any reason why changing the SDDL doesnt work? Is there any
kind of inherited security from the lower bus?
Thanks in advance, Tag: Which is the latest WDK? Tag: 91535
bulkusb sample with DTM test
Hello,
I am new to DTM test. I use Vista DDK's bulkusb sample to transfer MP3
files between PC and Handset. The Handset just has a bulk-in and a bulk-out
pipe, and our purpose is just to transfer MP3 files. It works on Vista.
Now I use DTM to test it, the .inf shows it belongs to USB class (just
like bulkusb.inf). I use usb cable connect handset and pc. And I choose
WDK\ConfigureUSBController in MCU Ploicy tab to start DTM test. And then I
create a submission(x86 Vista) to run test items(it shows 7 items on DTM
Studio) and always failed immediately after I schedule these jobs. All I
want to ask are: If the .inf must has a CAT file first and I must add a
CatalogFile=XXXX.cat and can not give it a blank CAT file? If I should make
a CAT file first and then can do other test items, or they will all fail?
Should it must connect through a usb 2.0 HUB? I had test HCT before, it
seems simpler than DTM. I am not sure about DTM whether something important
that I must to do and I forget to do. Please help me. Thanks.
Ricky Tag: Which is the latest WDK? Tag: 91533
what API should i use for remote port/device blocker?
hi, i am developing a remote port/device blocker. i am planning to use
SetupAPI for blocking devices. will it be the best way or are there any
better APIs for this purpose? thanks Tag: Which is the latest WDK? Tag: 91531
Poor DMA read rate
I have a PCI device (32-bit/66MHz) that has a really poor DMA read rate (host
to device) that is somewhat decent in one machine (59MB/s) but is really poor
in another machine (4MB/s). The performance in the second machine is
equivalent to directly reading memory from the host 4-bytes at a time. The
DMA write rate (device to host), however, is roughly the same in both
machines and close to the theoretical (262MB/s). The device acts as the
master for both reads and writes.
I have a limited knowledge of the details of the PCI bus. Does this look
like an issue with the PCI bridges getting configured differently, resulting
in the read transactions being terminated prematurely? I have access to a PCI
analyzer and will be setting that up as soon as I have access to the machines
again, but I was wondering if this looks like something obvious to someone
more knowledgeable about the PCI bus.
Also, are there any parameters that can be tweaked to improve the read DMA
rate overall? I realize that this is probably highly dependent on the DMA
engine on the device itself. Tag: Which is the latest WDK? Tag: 91529
Ethernet Controller LCS 8036 TX-R Driver for Wndows98 wanted
Hello Windows friends,
I have an old LAN card for use with DSL connection on an old PC. Does anybody know a driver for it ? the manufacturer has ceased support.
thanks for any help
J. Tag: Which is the latest WDK? Tag: 91525
Help!! Out of the Pot and into the Driver Fire
I need some help. I have been thrown in front of a bus at work. We are
having trouble fully testing our network enabled apps for their resilience to
the effect of lag and dropped packets and I got tagged as the lucky developer
to find a solution. As usual, we can't buy anything; but, in this case I
cant find anything that would work anyway. I need to create a small app that
will allow me to catch UDP/TCP packets going up and down the stack and hold
them for a resizeable amount of time to "fake" lag for our app. I also need
to be able to throw out packets based on some known frequency and unknown
(psuedo-random).
Of course, None of us here are Windows driver developers, but from the
research that I've done, it looks like I will need to make a Intermediate
NDIS driver and/or Filter driver. I am pretty sure I can't do this project
in VS 2005, and I need the WDK....Right? Are there any other things that I
will need before I install the WDK? I have been studying the MSDN literature
on NDIS intermediate/filter drivers, but I am not real sure where to go next.
Thanks a billion for any help. Sorry such a newb.
.NETMystified Tag: Which is the latest WDK? Tag: 91515
Virtual disk problem
I'm trying to port my virtual disk driver to Windows Server 2003 SP1 running
on Virtual Server 2005 x64. I create symbolic link using DefineDosDevice. And
I get "X:\ is not accessible. Incorrect function." every time I try to access
created drive. My driver gets only IRP_MJ_CREATE.
Symbolic link is correct: x: --> \Device\Mydevice.
In CreateClose routine:
irp.Status = STATUS_SUCCESS;
irp.Information = FILE_OPENED ;
IoCompleteRequest(irp, IO_NO_INCREMENT);
return STATUS_SUCCESS;
Seems to be OK. I'v tried to call IoCreateSymbolicLink. Same promblem. Whats
wrong? Tag: Which is the latest WDK? Tag: 91513
Communication with driver
Hi,
I'm currently developing a user mode application that creates a rather big
linked list which contains lots of structures that may contain linked lists
theirselves. Now, how can I transfer this rather complex linked list into
kernel mode? What's the best approach?
Thanks a lot,
Peter Tag: Which is the latest WDK? Tag: 91508
HP lagging in providing printer drivers for Vista
my HP1012 laser printer does not work in Vista. I have posted asking
for help elsewhere ... I am interested in reading opinions on why HP
would be so slow in having printer driver support for printers on
Vista.
- the 1012 is no longer sold by HP but it is still relatively new.
assuming HP is providing Vista support for the printers it sells, will
it be difficult for HP to clone one of their working drivers to work
with the 1012?
- in general are printer drivers harder to write in Vista than XP?
- has HP simply become a lame company that has little regard for its
legacy customers?
-Steve Tag: Which is the latest WDK? Tag: 91507
How to properly support an interface in an upper filter driver ?
I am an upper filter driver and set & Enable an interface
(IoRegisterDeviceInterface & IoSetDeviceInterfaceState() . Depending what
stack this filter is on , the stacks below it will fail IRP_MJ_CREATE ,
some will succeed it. Some stacks depend on the IRP_MJ_CREATE , if filter
completes with success , they are not happy.
If the IRP_MJ_CREATE fails , user mode apps cannot access my interface, and
value of filter. What is the proper method for supporting this ? Tag: Which is the latest WDK? Tag: 91506
How do I clean up the registry
Hi,
When I run ndistest, 1c_faulthandling test modifies the registry to
simulate various error conditions (causing scenarios).
During one of the test-runs, system crashed in 1c_faulthandling.
Now I am unable to load the driver because of some tweaking done by
1c_faulthandling.
Question is: How do I restore the registry/fix this problem?
Regards,
-Praveen Tag: Which is the latest WDK? Tag: 91501
USB Selective suspend support by Vista?
Our device is a usb 1.1 low speed device with remote wake up
capability.
and it runs with the Vista in-box hid driver.
it also passed USBCV suspend/remote wake up test,
Well, after choosing maximum power saving policy in the Vista,
we still can not obeserve the driver would send out the "set feature"
command to enable the remote wake up function in our device.
The deivce keep working on D0, and was not able to go into a power
saving state.
""=========
Per the ..http://msdn2.microsoft.com/en-us/library/ms793200.aspx
In Microsoft Windows XP and later operating systems, the USB core
stack supports a modified version of the "selective suspend" feature
that is described in revision 2.0 of the Universal Serial Bus
Specification.
The USB selective suspend feature allows the hub driver to suspend an
individual port without affecting the operation of the other ports on
the hub. Selective suspension of USB devices is especially useful in
portable computers, since it helps conserve battery power. Many
devices, such as finger readers and other kinds of biometric scanners,
only require power intermittently. Suspending such devices selectively
reduces power consumption. More importantly, as long as any USB device
remains powered, it will prevent the system from entering deeper sleep
states, such as C3. The Windows selective suspend behavior is
different for devices operating in Windows XP and Windows Vista.
""==========
Once the device keep working on D0, it would prevent the CPU enter C3,
it would result in the whole system consume more power..
Does anyone knows
1. The in-box HID driver in Vista support seletive suspend feature?
2. If yes, what's the requirement for arming the command to the
device?
Thanks.
-chueh8 Tag: Which is the latest WDK? Tag: 91495
Multiple MiniportMessageInterruptDPCs on the same CPU
In the following scenario, does NDIS call one
MiniportMessageInterruptDPC per MSI message or just one DPC call?
1. The driver uses two MSI-X messages.
2. MiniportMessageInterrupt always sets QueueDefaultInterruptDpc to
TRUE and returns TRUE.
3. The device sends one MSI message and interrupts a CPU. This causes
a DPC.
4. While the last DPC is either running or is scheduled to run, the
device sends a different MSI message and happens to interrupt the same
CPU. Is this always going to result in another DPC because the
interrupt is due to a different MSI message? Thanks... Tag: Which is the latest WDK? Tag: 91490
1394 Debugging - So Close - Need Help
I've set up my host and target machines for 1394 debugging. I have the
virtual 1394 device drivers installed on the host machine and am able to
connect to the target machine to begin the debug session. Right after the
target's 1394 host controller loads, the debugging connection is lost. When
I check the target's hardware properties, the 1394 host controller is whacked.
I've read the documentation that warns to disable the target 1394 host
controller before debugging with the caution "Be careful not to accidently
disable the 1394 net adapter instead". The problem is, when I disable the
1394 host controller on the target, the 1394 net adapter disappears from the
listing and thereby not allowing a debug connect at all.
Any help would be greatly appreciated. Tag: Which is the latest WDK? Tag: 91488
Widcomm bluetooth drivers
Hello all
Anyone had problems with Windows Vista and getting their in built Bluetooth
device by Widcomm working.
Cant find drivers to work with Windows Vista, everything else has installed
without many tears being spilt.
Dan
UK Tag: Which is the latest WDK? Tag: 91486
IOCTL_SCSI_PASS_THRU commands in limited user mode
Hi,
Currently I am using IOCTL_SCSI_PASS_THRU commands in admin user mode, when
logged in limited user mode I am not able to send IOCTL_SCSI_PASS_THRU
commands to an USB device. The reason is Create file will fail due to
Generic_read/Generic_write which is not available in limited user modes, and
IOCTL_SCSI_PASS_THRU needs these options in DeviceIOControl.
As I am working with USB Mass Storage device using usbstor.sys mass storage
driver is there a method that would send same commands through USB end points
or pipes.
Also I found IOCTL_USB_USER_REQUEST which has USBUSER_PASS_THRU option but
I could not locate any sample codes, i guess these are not documented. What I
am trying to do is to send an vendor specfic command to an USB Mass Storage
deivce.
Thanks,
JK Tag: Which is the latest WDK? Tag: 91485
machine hanging after reboot when enabling driver verifier
When enabling the driver verifier and rebooting the machine (done
automatically for some tests by DTM), the machine is hanging during the
reboot. I can reproduce the problem also by doing the same thing manually
(without DTM). I have Windbg attached and it seems the system is hanging at
the very beginning: it seems the driver under test is not loaded yet, the
last messages from windbg are "kernel debugger connection established", some
stuff about symbol paths and "system uptime: not available" as last message.
I'm only able to break into the debugger until after a very long time (more
than 10 minutes). The strange thing is that I do not see the problem on all
my test machines. I'm currently using 2 machines: the one which has the
problem is a single-processor machine, the other one, which is a
multi-processor machine, does not have the problem. Another difference
between them is that the one with the problem has both XP and Vista installed
on it while the other has only Vista installed. Both are 32-bit machines.
Has anybody already seen this problem before or does anybody have
suggestions to debug this problem?
Thanks,
Jeroen Tag: Which is the latest WDK? Tag: 91476
which WDK should i use?
I can find two download resource currently.
One is on the Microsoft connect,with the ISO name:""
The other is on the WHDC DDK