win-pvdrivers

view drvsetup.nsh @ 425:ea14db3ca6f2

Don't disable xen drivers when gplpv isn't specified. Instead just make the xennet driver always report cable disconnected, and xenvbd not enumerate any disks.
author James Harper <james.harper@bendigoit.com.au>
date Thu Sep 04 22:31:38 2008 +1000 (2008-09-04)
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