// Generated .IDL file (by the OLE/COM Object Viewer) // // typelib filename: mcinsctl.dll [ uuid(2A503B62-0CF9-4458-9C7B-44E5E3E7473F), version(1.0), helpstring("McAfee.com Installer objects 1.0 Type Library"), custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 83951780), custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1079039495) ] library MCINSTALLLib { // TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046} importlib("Stdole2.tlb"); // Forward declare all types defined in this typelib interface IMCRegistry; interface IMCFileSystem; interface IMCOS; interface IMCInstallDirectory; interface IMCInstaller; dispinterface _IMCDownloadEvents; interface IMCShell; interface IMcOtherVSProducts; interface IMcAppUpdate; interface IMCAppHelper; interface IMcLog; typedef [public] __MIDL___MIDL_itf_MCINSTALL_0000_0001 MCINST_RESULT; typedef enum { MCINST_SUCCESS = 0, MCINST_SUCCESS_NEED_REBOOT = 1, MCINST_ERROR = 2, MCINST_SYS_ERROR = 3, MCINST_INVALID_PARAM = 4, MCINST_BUSY = 5, MCINST_INET_ERROR = 6, MCINST_BAD_URL = 7, MCINST_UNKNOWN_PROT = 8, MCINST_SERVER_ERROR = 9, MCINST_RESOURCE_UNAVAIL = 10, MCINST_NOT_SUPPORTED = 11, MCINST_MODULE_IN_USE = 12, MCINST_ALREADY_EXISTS = 13, MCINST_REGSERVER_FAILED = 14, MCINST_404_ERROR = 15, MCINST_OPERATION_ABORTED = 16, MCINST_ADMIN_REQUIRED = 17, MCINST_DOWNLOAD_FAILED = 18, MCINST_CONNECTION_TIMEOUT = 19, MCINST_FILE_CRC_MISMATCH = 20, MCINST_SIZE_MISMATCH = 100, MCINST_INTERMEDIATE_NEED_REBOOT = 101, MCINST_APP_PRESENT = 102, MCINST_DENY_UNINSTALL = 103, MCINST_MSC_UNINST_SUCCESS = 104, MCINST_MSC_UNINST_NEED_REBOOT = 105 } __MIDL___MIDL_itf_MCINSTALL_0000_0001; typedef [public] __MIDL___MIDL_itf_MCINSTALL_0000_0002 MCINST_LOG_MODE; typedef enum { MCINST_LOG_MODE_CREATE = 0, MCINST_LOG_MODE_APPEND = 1 } __MIDL___MIDL_itf_MCINSTALL_0000_0002; [ odl, uuid(A788A28C-D4DE-44D8-AC2D-712C04FC53E4), helpstring("McAfee.com Registry Interface"), dual, oleautomation ] interface IMCRegistry : IDispatch { [id(0x00000001)] HRESULT RegKeyPresent( [in] BSTR bstrKeyPath, [out, retval] VARIANT_BOOL* pbResult); [id(0x00000002)] HRESULT RegCreateKey( [in] BSTR bstrKeyPath, [out, retval] MCINST_RESULT* pResult); [id(0x00000003)] HRESULT RegDeleteKey( [in] BSTR bstrKeyPath, [out, retval] MCINST_RESULT* pResult); [id(0x00000004)] HRESULT RegEnumKey( [in] BSTR bstrKeyPath, [out, retval] SAFEARRAY(VARIANT)* parrKeyNames); [id(0x00000005)] HRESULT RegGetKeyValueCount( [in] BSTR bstrKeyPath, [out] VARIANT* vlSubKeyCount, [out] VARIANT* vlValuesCount, [out, retval] MCINST_RESULT* pResult); [id(0x00000006)] HRESULT RegSetValue( [in] BSTR bstrKeyPath, [in] BSTR bstrValueName, [in] VARIANT vValue, [out, retval] MCINST_RESULT* pResult); [id(0x00000007)] HRESULT RegDeleteValue( [in] BSTR bstrKeyPath, [in] BSTR bstrValueName, [out, retval] MCINST_RESULT* pResult); [id(0x00000008)] HRESULT RegEnumValueNames( [in] BSTR bstrKeyPath, [out, retval] SAFEARRAY(VARIANT)* parrValues); [id(0x00000009)] HRESULT RegQueryValue( [in] BSTR bstrKeyPath, [in] BSTR bstrValueName, [out, retval] VARIANT* pvValue); [id(0x0000000a)] HRESULT IniWriteValue( [in] BSTR bstrIniFilePath, [in] BSTR bstrSectionName, [in] BSTR bstrKeyName, [in, optional] VARIANT vValue, [out, retval] MCINST_RESULT* pResult); [id(0x0000000b)] HRESULT IniGetValue( [in] BSTR bstrIniFilePath, [in] BSTR bstrSectionName, [in] BSTR bstrKeyName, [out, retval] VARIANT* pvValue); [id(0x0000000c)] HRESULT IniGetMultipleValues( [in] BSTR bstrIniFilePath, [in] BSTR bstrSectionName, [out, retval] SAFEARRAY(VARIANT)* parrValues); [id(0x0000000d)] HRESULT IniDeleteSection( [in] BSTR bstrIniFilePath, [in] BSTR bstrSectionName, [out, retval] MCINST_RESULT* pResult); [id(0x0000000e)] HRESULT IniGetSection( [in] BSTR bstrIniFilePath, [out, retval] SAFEARRAY(VARIANT)* parrSectionNames); [id(0x0000000f), propget] HRESULT AllowEveryone([out, retval] VARIANT_BOOL* pbAllowEveryone); [id(0x0000000f), propput] HRESULT AllowEveryone([in] VARIANT_BOOL pbAllowEveryone); [id(0x00000010)] HRESULT SetRegistrySecurity( [in] BSTR bstrKey, [in] VARIANT_BOOL vbInherit, [out, retval] MCINST_RESULT* pResult); [id(0x00000011), propget] HRESULT Obfuscate([out, retval] VARIANT_BOOL* pvbObfuscate); [id(0x00000011), propput] HRESULT Obfuscate([in] VARIANT_BOOL pvbObfuscate); }; [ uuid(4C29D864-C55A-46DD-865C-17A1B7CC1A1A), helpstring("McAfee.com Registry Class") ] coclass CoMCRegistry { [default] interface IMCRegistry; }; [ odl, uuid(CEC3A5A6-E699-4C2B-868A-BB9C470A1760), helpstring("McAfee.com File System Interface"), dual, oleautomation ] interface IMCFileSystem : IDispatch { [id(0x00000001), propget] HRESULT CurrentDirectory([out, retval] BSTR* pbstrCurDir); [id(0x00000002)] HRESULT ChangeDirectory( [in] BSTR bstrNewDir, [out, retval] BSTR* pbstrOldDir); [id(0x00000003)] HRESULT CreateFolder( [in] BSTR bstrFolder, [out, retval] MCINST_RESULT* pResult); [id(0x00000004)] HRESULT RemoveFolder( [in] BSTR bstrFolder, [in] VARIANT_BOOL vbDelSubFolders, [in] BSTR bstrAppID, [out, retval] MCINST_RESULT* pResult); [id(0x00000005)] HRESULT CopyFiles( [in] BSTR bstrSourcePath, [in] BSTR bstrDestPath, [in] VARIANT_BOOL vbFailIfExists, [in] BSTR bstrAppID, [out, retval] MCINST_RESULT* pResult); [id(0x00000006)] HRESULT xCopyFiles( [in] BSTR bstrSourcePath, [in] BSTR bstrDestPath, [in] BSTR bstrAppID, [out, retval] MCINST_RESULT* pResult); [id(0x00000007)] HRESULT RemoveFiles( [in] BSTR bstrFilePath, [in] BSTR bstrAppID, [out, retval] MCINST_RESULT* pResult); [id(0x00000008)] HRESULT MoveFile( [in] BSTR bstrSourceFilePath, [in] BSTR bstrDestFilePath, [in] BSTR bstrAppID, [out, retval] MCINST_RESULT* pResult); [id(0x00000009)] HRESULT IsDirectory( [in] BSTR bstrDirectoryPath, [out, retval] VARIANT_BOOL* pbResult); [id(0x0000000a)] HRESULT IsFile( [in] BSTR bstrFilePath, [out, retval] VARIANT_BOOL* pbResult); [id(0x0000000b)] HRESULT GetFileProperties( [in] BSTR bstrFilePath, [out] VARIANT* plFileSize, [out] VARIANT* pdtCreationTime, [out] VARIANT* pdtModifiedTime, [out] VARIANT* pdtAccessedTime, [out] VARIANT* pbstrVersion, [out] VARIANT* pbMCAFShared, [out, retval] MCINST_RESULT* pResult); [id(0x0000000c)] HRESULT GetDiskSpaceInfo_MB( [in] BSTR bstrDrive, [out] VARIANT* pdblTotalMB, [out] VARIANT* pdblTotalFreeMB, [out, retval] MCINST_RESULT* pResult); [id(0x0000000d)] HRESULT IsDirectoryEmpty( [in] BSTR bstrFolder, [out, retval] VARIANT_BOOL* pbResult); [id(0x0000000e)] HRESULT MoveFileEx( [in] BSTR bstrSourceFilePath, [in] BSTR bstrDestFilePath, [out, retval] MCINST_RESULT* pResult); [id(0x0000000f)] HRESULT GetShortPathName( [in] BSTR bstrLongFileName, [out, retval] BSTR* pbstrShortPath); [id(0x00000010)] HRESULT SetFolderSecurity( [in] BSTR bstrFolder, [in] VARIANT_BOOL vbDelSubFolders, [out, retval] MCINST_RESULT* pResult); [id(0x00000011)] HRESULT SetFolderSecurityEx( [in] BSTR bstrFolder, [in] VARIANT_BOOL vbDelSubFolders, [in] long lAccessPermissions, [out, retval] MCINST_RESULT* pResult); [id(0x00000012)] HRESULT EnumerateFolder( [in] BSTR bstrFolder, [out, retval] SAFEARRAY(VARIANT)* parrValues); [id(0x00000013)] HRESULT SetFileSecurityEx( [in] BSTR bstrFilePath, [in] long lAccessPermissions, [out, retval] MCINST_RESULT* pResult); [id(0x00000014)] HRESULT CopyFileSecurity( [in] BSTR bstrSourceFile, [in] BSTR bstrTargetFile, [out, retval] MCINST_RESULT* pResult); }; [ uuid(5940894F-4BA9-4FAC-ACFD-2F56F7CE0E3B), helpstring("McAfee.com File System Class") ] coclass CoMCFileSystem { [default] interface IMCFileSystem; }; typedef [public] __MIDL___MIDL_itf_MCINSTALL_0210_0001 MCINST_OS_TYPE; typedef enum { MCINST_OS_UNKNOWN = 0, MCINST_OS_WIN_95 = 1, MCINST_OS_WIN_98 = 2, MCINST_OS_WIN_NT = 3, MCINST_OS_WIN_2K = 4, MCINST_OS_WIN_ME = 5, MCINST_OS_WIN_XP = 6 } __MIDL___MIDL_itf_MCINSTALL_0210_0001; typedef [public] __MIDL___MIDL_itf_MCINSTALL_0210_0002 MCINST_OS_VERSION; typedef enum { MCINST_OS_NO_VERSION_INFO = 0, MCINST_OS_OLDER_VERSION_EXISTS = 1, MCINST_OS_OBJECT_EXISTS = 2, MCINST_OS_OBJECT_NOT_FOUND = 3 } __MIDL___MIDL_itf_MCINSTALL_0210_0002; typedef [public] __MIDL___MIDL_itf_MCINSTALL_0210_0003 MCINST_OS_SVC_OPTS; typedef enum { MCINST_OS_SVC_BOOT = 0, MCINST_OS_SVC_SYSTEM = 1, MCINST_OS_SVC_AUTO = 2, MCINST_OS_SVC_DEMAND = 3, MCINST_OS_SVC_DISABLED = 4 } __MIDL___MIDL_itf_MCINSTALL_0210_0003; typedef [public] __MIDL___MIDL_itf_MCINSTALL_0210_0004 MCINST_OS_SVC_STATUS; typedef enum { MCINST_OS_SVC_UNKNOWN = 0, MCINST_OS_SVC_STOPPED = 1, MCINST_OS_SVC_START_PENDING = 2, MCINST_OS_SVC_STOP_PENDING = 3, MCINST_OS_SVC_RUNNING = 4, MCINST_OS_SVC_CONTINUE_PENDING = 5, MCINST_OS_SVC_PAUSE_PENDING = 6, MCINST_OS_SVC_PAUSED = 7 } __MIDL___MIDL_itf_MCINSTALL_0210_0004; [ odl, uuid(AEEBF4E2-8153-4448-8E96-B6E07D50A64C), helpstring("McAfee.com Operating System Interface"), dual, oleautomation ] interface IMCOS : IDispatch { [id(0x00000001), propget] HRESULT ComputerName([out, retval] BSTR* pbstrCompName); [id(0x00000002), propget] HRESULT UserName([out, retval] BSTR* pbstrUserName); [id(0x00000003), propget] HRESULT WindowsDirectory([out, retval] BSTR* pbstrWinDir); [id(0x00000004), propget] HRESULT SystemDirectory([out, retval] BSTR* pbstrSysDir); [id(0x00000005), propget] HRESULT TempDirectory([out, retval] BSTR* pbstrTempDir); [id(0x00000006)] HRESULT GetTempFileName( [in] BSTR bstrPath, [out, retval] BSTR* pbstrTempFileName); [id(0x00000007)] HRESULT GetOSInfo( [out] VARIANT* pbstrOSDesc, [out, retval] MCINST_OS_TYPE* pOSType); [id(0x00000008)] HRESULT IsProcessRunning( [in] BSTR bstrExecName, [out, retval] VARIANT_BOOL* pbRunResult); [id(0x00000009)] HRESULT IsAdministrator([out, retval] VARIANT_BOOL* pbResult); [id(0x0000000a)] HRESULT IsService( [in] BSTR bstrExecPath, [out] VARIANT* pbstrServiceName, [out] VARIANT* pbstrDisplayName, [out] VARIANT* plCurrentState, [out, retval] VARIANT_BOOL* pbResult); [id(0x0000000b)] HRESULT InstallService( [in] BSTR bstrExecPath, [in] BSTR bstrServiceName, [in] BSTR bstrDisplayName, [in, optional, defaultvalue(0)] MCINST_OS_SVC_OPTS eSvcOpts, [out, retval] MCINST_RESULT* pResult); [id(0x0000000c)] HRESULT UninstallService( [in] BSTR bstrServiceName, [out, retval] MCINST_RESULT* pResult); [id(0x0000000d)] HRESULT StartService( [in] BSTR bstrServiceName, [in] VARIANT arrArgs, [out, retval] MCINST_RESULT* pResult); [id(0x0000000e)] HRESULT StopService( [in] BSTR bstrServiceName, [out, retval] MCINST_RESULT* pResult); [id(0x0000000f)] HRESULT CheckVersion( [in] BSTR bstrFilePath, [in] BSTR bstrFileVersion, [out, retval] MCINST_OS_VERSION* pResult); [id(0x00000010)] HRESULT IsObjectInstalled( [in] BSTR bstrCLSID, [in] BSTR bstrVersion, [out, retval] MCINST_OS_VERSION* pResult); [id(0x00000011)] HRESULT GetObjectModuleFile( [in] BSTR bstrCLSID, [out, retval] BSTR* pbstrModuleFile); [id(0x00000012)] HRESULT GetObjectModuleDir( [in] BSTR bstrCLSID, [out, retval] BSTR* pbstrModuleDir); [id(0x00000013)] HRESULT RunProgram( [in] BSTR bstrExePath, [in] BSTR bstrCmdLine, [out, retval] MCINST_RESULT* pResult); [id(0x00000014)] HRESULT RunDLLFunction( [in] BSTR bstrDLLPath, [in] BSTR bstrFunctionName, [out, retval] MCINST_RESULT* pResult); [id(0x00000015)] HRESULT Reboot(); [id(0x00000016)] HRESULT GetWinsockVersion( [in] long lLowVer, [in] long lHighVer, [out] VARIANT* plExpectedVersion, [out] VARIANT* plHighVersion, [out, retval] MCINST_RESULT* pResult); [id(0x00000017)] HRESULT RunDLLInCurrentProcess( [in] BSTR bstrDLLPath, [in] BSTR bstrFunctionName, [in] long hWnd, [in] BSTR bstrCmdLine, [in] int nCmdShow, [out, retval] MCINST_RESULT* pResult); [id(0x00000018)] HRESULT InternetGetConnectedState([out, retval] VARIANT_BOOL* pbResult); [id(0x00000019)] HRESULT RegisterServer( [in] BSTR bstrModulePath, [in] VARIANT_BOOL vtbInstall, [out, retval] MCINST_RESULT* pResult); [id(0x0000001a)] HRESULT ChangeServiceConfig( [in] BSTR bstrServiceName, [in, optional, defaultvalue(0)] MCINST_OS_SVC_OPTS eSvcOpts, [out, retval] MCINST_RESULT* pResult); [id(0x0000001b), propget] HRESULT FileVersion([out, retval] BSTR* pVal); [id(0x0000001c), propput] HRESULT ServiceType([in] long plServiceType); [id(0x0000001c), propget] HRESULT ServiceType([out, retval] long* plServiceType); [id(0x0000001d), propget] HRESULT ActiveSessionsCount([out, retval] long* plActiveSessionsCount); [id(0x0000001e)] HRESULT GetLocaleInfo( [in, optional, defaultvalue(-1)] VARIANT_BOOL vbUserLocale, [in, optional, defaultvalue(4099)] long lLocaleType, [out, retval] BSTR* pbstrResult); }; [ uuid(4ED9DDF0-7479-4BBE-9335-5A1EDB1D8A21), helpstring("McAfee.com Operating System Class") ] coclass CoMCOS { [default] interface IMCOS; }; typedef enum { MCINST_FINDING_RESOURCE = 1, MCINST_CONNECTING = 2, MCINST_REDIRECTING = 3, MCINST_BEGIN_DOWNLOADING = 4, MCINST_DOWNLOADINGDATA = 5, MCINST_ENDDOWNLOADINGDATA = 6, MCINST_START_VSODAT_PATCH = 7, MCINST_VERIFYING_FILES = 8, MCINST_CREATING_TARGET_DIR = 9, MCINST_CREATING_VSODAT_TEMP_SRC_COPY = 10, MCINST_CREATING_VSODAT_TEMP_TARGET_COPY = 11, MCINST_VSODAT_APPLYING_PATCH = 12, MCINST_UPDATING_VSODAT_TARGET_LOCATION = 13, MCINST_END_VSODAT_PATCH = 14 } tagPROGRESS_STATUS; [ odl, uuid(60FC67C6-FDA4-466F-A707-0D10C0226EDA), helpstring("McAfee.com Install Directory Interface"), dual, oleautomation ] interface IMCInstallDirectory : IDispatch { [id(0x00000001), propget] HRESULT Length([out, retval] long* plLength); [id(0x00000002), propget] HRESULT DirectoryList([out, retval] SAFEARRAY(VARIANT)* pDirList); [id(0x00000003)] HRESULT AddDirectory( [in] BSTR bstrDirectory, [in] long lDirID); [id(0x00000004)] HRESULT RemoveDirectory([in, optional, defaultvalue(-1)] long lDirID); }; [ odl, uuid(BC254341-64A8-4517-8AFE-2AF2AB339080), helpstring("McAfee.com Download+Installer Interface"), dual, oleautomation ] interface IMCInstaller : IDispatch { [id(0x00000001)] HRESULT AdviseDownloadEvent( [in] VARIANT vDownloadEvents, [out, retval] long* plCookie); [id(0x00000002)] HRESULT UnadviseDownloadEvent([in] long lCookie); [id(0x00000003)] HRESULT DownloadFile( [in] BSTR bstrURL, [in] BSTR bstrSaveURLAs, [out, retval] MCINST_RESULT* pResult); [id(0x00000004)] HRESULT ExtractCAB( [in] BSTR bstrSourceFile, [in, out] VARIANT* pbstrDestDirectory, [out, retval] MCINST_RESULT* pResult); [id(0x00000005), propget] HRESULT InstallDirectoryObject([out, retval] IMCInstallDirectory** ppMCInstallDirectory); [id(0x00000006)] HRESULT Execute_Win32_INF( [in] BSTR bstrINFFile, [in] BSTR bstrSectionName, [out, retval] MCINST_RESULT* pResult); [id(0x00000007)] HRESULT Execute_MCAF_INF( [in] BSTR bstrINFFile, [in] BSTR bstrCommonSection, [in] BSTR bstrSharedSection, [in] BSTR bstrServiceSection, [in] BSTR bstrOcxSection, [in] BSTR bstrAppID, [in] VARIANT_BOOL vbInstall, [out, retval] MCINST_RESULT* pResult); [id(0x00000008)] HRESULT RunProgramAndWaitTillProgramQuits( [in] BSTR bstrExePath, [in] BSTR bstrCmdLine, [out, retval] MCINST_RESULT* pResult); [id(0x00000009)] HRESULT SetExpiryDate( [in] BSTR bstrKey, [in] BSTR bstrValue, [in] BSTR bstrExpiryDate, [out, retval] MCINST_RESULT* pResult); [id(0x0000000a)] HRESULT GetExpiryDate( [in] BSTR bstrKey, [in] BSTR bstrValue, [out] VARIANT* vpExpiryDate, [out, retval] MCINST_RESULT* pResult); [id(0x0000000b)] HRESULT AbortDownload([out, retval] MCINST_RESULT* pResult); [id(0x0000000c)] HRESULT ApplyVSODATPatch( [in] VARIANT arrPatchFilePath, [in] BSTR bstrPatchDll, [in] BSTR bstrDATSourceDir, [in] BSTR bstrDATDestDir, [out, retval] MCINST_RESULT* pResult); [id(0x0000000d)] HRESULT InstallVSODATFiles( [in] BSTR bstrDATSourceDir, [in] BSTR bstrDATDestDir, [out, retval] MCINST_RESULT* pResult); [id(0x0000000e)] HRESULT RunProgramAndWaitTillProgramQuitsEx( [in] BSTR bstrExePath, [in] BSTR bstrCmdLine, [out] VARIANT* pvProgramResult, [out, retval] MCINST_RESULT* pResult); }; [ uuid(E4992596-94B3-463A-8F32-F978BBE68AB7), helpstring("McAfee.com Download Events Interface") ] dispinterface _IMCDownloadEvents { properties: methods: [id(0x00000001)] HRESULT OnProgress( [in] tagPROGRESS_STATUS progStatus, [in] BSTR bstrStatusData, [in] long lProgressMax, [in] long lProgress); [id(0x00000002)] HRESULT OnDataReceived( [in] long lBytesReceived, [in] long lTotalBytes); [id(0x00000003)] HRESULT OnGetFileCompleted( [in] BSTR bstrURL, [in] BSTR bstrSaveURLAs, [in] MCINST_RESULT Result); [id(0x00000004)] HRESULT OnVSODATPatchProgress( [in] tagPROGRESS_STATUS progStatus, [in] BSTR bstrStatusData, [in] long lProgressMax, [in] long lProgress); [id(0x00000005)] HRESULT OnVSODATPatchEnd( [in] BSTR bstrSourceDir, [in] BSTR bstrDestDir, [in] MCINST_RESULT Result); }; [ uuid(36C417C6-13C6-448B-9784-DD73A93B0582), helpstring("McAfee.com Download+Installer Class") ] coclass CoMCInstaller { [default] interface IMCInstaller; interface IMCInstallDirectory; [default, source] dispinterface _IMCDownloadEvents; }; typedef [public] __MIDL___MIDL_itf_MCINSTALL_0214_0001 MCINST_SHELLFOLDER; typedef enum { MCINST_DESKTOP = 0, MCINST_PROPGRAMS = 2, MCINST_STARTMENU = 11, MCINST_STARTUP = 7, MCINST_APPDATA = 26, MCINST_COMMON_STARTUP = 24, MCINST_COMMON_PROGRAMS = 23, MCINST_COMMON_STARTMENU = 22, MCINST_COMMON_DESKTOP = 25, MCINST_COMMON_APPDATA = 35 } __MIDL___MIDL_itf_MCINSTALL_0214_0001; [ odl, uuid(9E414C30-5483-422D-BD7F-C1AD6321905C), helpstring("McAfee.com Shell Interface"), dual, oleautomation ] interface IMCShell : IDispatch { [id(0x00000001)] HRESULT CreateShortcut( [in] MCINST_SHELLFOLDER eFolder, [in] BSTR bstrGroupName, [in] BSTR bstrItemName, [in] BSTR bstrBinding, [in, optional, defaultvalue("")] BSTR bstrArgument, [in, optional, defaultvalue("")] BSTR bstrIcon, [out, retval] MCINST_RESULT* pResult); [id(0x00000002)] HRESULT RemoveShortcut( [in] MCINST_SHELLFOLDER eFolder, [in] BSTR bstrGroupName, [in, optional, defaultvalue("")] BSTR bstrItemName, [out, retval] MCINST_RESULT* pResult); [id(0x00000003)] HRESULT ShellExecute( [in] BSTR pszFile, [in, optional, defaultvalue("")] BSTR bstrCmdLine, [out, retval] MCINST_RESULT* pResult); [id(0x00000004)] HRESULT GetSpecialFolderPath( [in] MCINST_SHELLFOLDER eFolder, [out] VARIANT* pVarFolderPath, [out, retval] MCINST_RESULT* pResult); [id(0x00000005)] HRESULT ShowBrowseFolder( [in] BSTR bstrTitle, [in] BSTR bstrDisplayName, [out, retval] BSTR* pbstrPath); [id(0x00000006)] HRESULT MsgBox( [in] BSTR bstrPrompt, [in, optional, defaultvalue(0)] unsigned long dwButtons, [in, optional, defaultvalue("0")] BSTR bstrTitle, [in, optional, defaultvalue("0")] BSTR bstrHelpFile, [in, optional, defaultvalue(0)] unsigned long dwContext, [out, retval] unsigned long* pdwRetVal); }; [ uuid(CA145D71-4BCB-461D-BCBE-C01C42867380), helpstring("McAfee.com Shell Helper Class") ] coclass CoMCShell { [default] interface IMCShell; }; [ odl, uuid(9362FC33-F8D1-47B7-9973-36752EBE976A), helpstring("McAfee.com Other Application Uninstaller Interface"), dual, oleautomation ] interface IMcOtherVSProducts : IDispatch { [id(0x00000001)] HRESULT DetectOtherVSProducts( [in] BSTR bstrUninstPath, [out, retval] BSTR* pbstrProducts); [id(0x00000002)] HRESULT UninstallOtherVSProducts( [in] BSTR bstrUninstPath, [out, retval] MCINST_RESULT* pResult); }; [ odl, uuid(0911A109-C6B4-49A4-A8D1-F985F7CCF660), helpstring("McAfee.com Application Update Interface"), dual, oleautomation ] interface IMcAppUpdate : IDispatch { [id(0x00000001)] HRESULT GetUpdateInfo( [out] VARIANT* pvbstrUrl, [out] VARIANT* pvbstrPingInfo); }; [ odl, uuid(DE3A1B8E-B61D-4679-8FEC-4EE48EDA170B), helpstring("McAfee.com Application Helper Interface"), dual, oleautomation ] interface IMCAppHelper : IDispatch { [id(0x00000001)] HRESULT GetState( [in] BSTR bstrCLSID, [out] VARIANT* vState, [out, retval] MCINST_RESULT* pResult); [id(0x00000002)] HRESULT IsObjectRunning( [in] BSTR bstrCLSID, [out] VARIANT* vObjRunning, [out, retval] MCINST_RESULT* pResult); [id(0x00000003)] HRESULT Shutdown( [in] BSTR bstrCLSID, [out, retval] long* lProcID); [id(0x00000004)] HRESULT GetObject( [in] BSTR bstrCLSID, [out, retval] IDispatch** ppDisp); [id(0x00000005)] HRESULT GetRunningObject( [in] BSTR bstrCLSID, [out, retval] IDispatch** ppDisp); [id(0x00000006)] HRESULT ShutdownEx( [in] BSTR bstrCLSID, [in] long lTimeout, [out, retval] long* lProcID); [id(0x00000007)] HRESULT GetMcAppUpdate( [in] BSTR bstrCLSID, [out, retval] IDispatch** ppMcAppUpdate); [id(0x00000008)] HRESULT GetOtherVSProducts([out, retval] IDispatch** ppOtherVSProducts); }; [ odl, uuid(3C2878E8-6F6C-49D1-8093-5FC9E3D8841C), helpstring("IMcLog Interface"), dual, oleautomation ] interface IMcLog : IDispatch { [id(0x00000001), helpstring("method StartLog")] HRESULT StartLog( [in] BSTR bstrLogFile, [in] MCINST_LOG_MODE LogMode, [out, retval] MCINST_RESULT* pResult); [id(0x00000002), helpstring("method AddLog")] HRESULT AddLog( [in] BSTR bstrLog, [out, retval] MCINST_RESULT* pResult); [id(0x00000003), helpstring("method StopLog")] HRESULT StopLog(); [id(0x00000004), propget, helpstring("property LogFile")] HRESULT LogFile([out, retval] BSTR* pVal); [id(0x00000005), propget, helpstring("property LastError")] HRESULT LastError([out, retval] long* pVal); }; [ uuid(A5AD2366-4C5A-4750-BD4E-23E7333C9565), helpstring("McLog Class") ] coclass CoMcLog { [default] interface IMcLog; }; [ uuid(D2D8D3C0-C750-4703-A6AD-75D6B578FFE6), helpstring("McAfee.com Application Helper Class") ] coclass CoMCAppHelper { [default] interface IMCAppHelper; }; };