win-pvdrivers

annotate 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
rev   line source
james@286 1 ; BOOL UpdateDriverForPlugAndPlayDevices(HWND, PSTR, PSTR, DWORD, PBOOL);
james@286 2 !define sysUpdateDriverForPlugAndPlayDevices "newdev::UpdateDriverForPlugAndPlayDevices(i, t, t, i, *i) i"
james@286 3 ; the masked value of ERROR_NO_SUCH_DEVINST is 523
james@286 4 !define ERROR_NO_SUCH_DEVINST -536870389
james@286 5
james@286 6 ;BOOL SetupCopyOEMInf(PSTR, PSTR, DWORD, DWORD, PSTR, DWORD, PDWORD, PSTR);
james@286 7 !define sysSetupCopyOEMInf "setupapi::SetupCopyOEMInf(t, t, i, i, i, i, *i, t) i"
james@286 8 !define SPOST_NONE 0
james@286 9 !define SPOST_PATH 1
james@286 10 !define SPOST_URL 2
james@286 11 !define SP_COPY_DELETESOURCE 0x1
james@286 12 !define SP_COPY_REPLACEONLY 0x2
james@286 13 !define SP_COPY_NOOVERWRITE 0x8
james@286 14 !define SP_COPY_OEMINF_CATALOG_ONLY 0x40000
james@286 15