win-pvdrivers

view drvsetup.nsh @ 286:89e1a0af859c

Wrote an installer using NSIS. Updated some documentation. Minor bugfixes too.
author James Harper <james.harper@bendigoit.com.au>
date Sun Jun 01 23:16:21 2008 +1000 (2008-06-01)
parents
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