DECLAREINTEGER DllInstall IN shlwapi;
Value that is set to TRUE if the DLL is being installed, or FALSE if it is being uninstalled.
String passed in by regsvr32 that indicates which setup procedure to use.
Returns NOERROR (0) if successful, or an OLE-defined error value otherwise.
Minimum operating systems: Windows 2000, Windows NT 4.0 with Internet Explorer 4.0, Windows 98.
To use DllInstall with regsvr32, add a "/i" flag followed by a colon (:) and a string. The string will be passed to DllInstall as the pszCmdLine parameter. If you omit the colon and string, pszCmdLine will be set to NULL. The following example would be used to install a DLL: