Vista:UpdateDriverForPlugAndPlayDevices gets ERROR_INSUFFICIENT_BU
ERROR_INSUFFICIENT_BUFFER (122): The data area passed to a system call is too
When installing our hardware in Vista, our setup program gets this error
when calling UpdateDriverForPlugAndPlayDevices. The setup program and INF
file are working fine in win2003 and XP.
The error will only show on a first install of the hardware. At the end of
the installation, the device manager will show "Other Device/PCI Device" with
a yellow "!" for our hardware.
If we uninstall the "Other Device/PCI Device" in Device Manager and "Scan
for Hardware Changes" the drivers are installed correctly.
Once our drivers are installed, updating them with newer version will work
How can I fix this problem?