UpdateDriverForPlugaAndPlayDevices and INSTALLFLAG_READONLY

Hi,

it seems like the INSTALLFLAG_READONLY flag for
UpdateDriverForPlugaAndPlayDevices() isn’t supported in W2K but only in
Windows XP. The DDK docs don’t say so, though.

Am I doing something wrong in W2K or is it really supported only in
Windows XP? In W2K, the following code returns FALSE and GetLastError
returns ERROR_INVALID_FLAGS:

bSuccess = UpdateDriverForPlugAndPlayDevices(
NULL,
szHwId,
szFullInfPath,
INSTALLFLAG_READONLY,
&bNeedsReboot
);
Ralf.