rups_shetty Posted May 2, 2005 Posted May 2, 2005 Hi,We have a 32 bit application that calls UpdateDriverForPlugandPlayDevices to install a printer driver. On running this application on a Win XP 64bit AMD machine, this API returns -536870389(i.e FFFFFFFFE000020B in Hex).Could someone please tell us what this means as this return type is not documented anywhere? Thanks in advance,Rups
Jazkal Posted May 2, 2005 Posted May 2, 2005 I know you said it is x64 hardware, but is it x64 Windows XP? or just 32bit WinXP? The reason I'm asking is because you can't install 32bit drivers on x64.Sorry, no idea on the error code.
rups_shetty Posted May 3, 2005 Author Posted May 3, 2005 Hi,It is x64 Win XP and the driver is a 64 bit version too. Figured out the error code ...it is ERROR_NO_DEVINST which indicates that the device is not plugged in. This is kinda funny bcoz the device is already plugged in and has drivers installed too.
Jazkal Posted May 3, 2005 Posted May 3, 2005 32bit applications can't access the 64bit registry hives. Well, they can, but it takes special calls. I know I have the calls, just not right now. I'll try and post them tomorrow. I don't know if this will help or not, just trying to help.EDIT:Try these links outMSDN Article on WOW64 redirectionBlog Post on it
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now