win-pvdrivers

view drvsetup.nsh @ 310:60372bd2582d

First cut of putting xenbus config details in the .inf file - xenvbd may yet pass WHQL
author James Harper <james.harper@bendigoit.com.au>
date Fri Jun 13 14:16:50 2008 +1000 (2008-06-13)
parents 89e1a0af859c
children
line source
1 ; BOOL UpdateDriverForPlugAndPlayDevices(HWND, PSTR, PSTR, DWORD, PBOOL);
2 !define sysUpdateDriverForPlugAndPlayDevices "newdev::UpdateDriverForPlugAndPlayDevices(i, t, t, i, *i) i"
3 ; the masked value of ERROR_NO_SUCH_DEVINST is 523
4 !define ERROR_NO_SUCH_DEVINST -536870389
6 ;BOOL SetupCopyOEMInf(PSTR, PSTR, DWORD, DWORD, PSTR, DWORD, PDWORD, PSTR);
7 !define sysSetupCopyOEMInf "setupapi::SetupCopyOEMInf(t, t, i, i, i, i, *i, t) i"
8 !define SPOST_NONE 0
9 !define SPOST_PATH 1
10 !define SPOST_URL 2
11 !define SP_COPY_DELETESOURCE 0x1
12 !define SP_COPY_REPLACEONLY 0x2
13 !define SP_COPY_NOOVERWRITE 0x8
14 !define SP_COPY_OEMINF_CATALOG_ONLY 0x40000