' ########################################################################################
' Microsoft Windows
' File: MtsAdmin.inc
' Contents: This file provides the prototypes for the APIs and COM interfaces used by
' Microsoft Transaction Server applications.
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
' ########################################################################################
' Library name: MTSAdmin
' Version: 1.0, Locale ID = 0
' Description: MTS 2.0 Admin Type Library
' Path: C:\WINDOWS\system32\Com\mtsadmin.tlb
' Library GUID: {6EB22880-8A19-11D0-81B6-00A0C9231C29}
' ########################################################################################
#IF NOT %DEF(PBX_MtsAdmin_PBI)
#DEFINE PBX_MtsAdmin_PBI
%EQUATE `MTSADMIN_INC = 1
'/* header files for imported files */
#INCLUDE ONCE "Legacy/COM/Unknwn.inc"
#INCLUDE ONCE "Legacy/COM/ComAdmin.inc"
#INCLUDE ONCE "Legacy/System/ObjBase.inc"
' ========================================================================================
' ProgIDs (Program identifiers)
' ========================================================================================
' CLSID = {6EB22881-8A19-11D0-81B6-00A0C9231C29}
$PROGID_MTSAdmin_Catalog1 = "MTSAdmin.Catalog.1"
' ========================================================================================
' Version independent ProgIDs
' ========================================================================================
' CLSID = {6EB22881-8A19-11D0-81B6-00A0C9231C29}
$PROGID_MTSAdmin_Catalog = "MTSAdmin.Catalog"
' ========================================================================================
' ClsIDs (Class identifiers)
' ========================================================================================
$CLSID_MTSAdmin_CatalogCollection = GUID$("{6EB22883-8A19-11D0-81B6-00A0C9231C29}")
$CLSID_MTSAdmin_CatalogObject = GUID$("{6EB22882-8A19-11D0-81B6-00A0C9231C29}")
$CLSID_MTSAdmin_ComponentUtil = GUID$("{6EB22884-8A19-11D0-81B6-00A0C9231C29}")
$CLSID_MTSAdmin_PackageUtil = GUID$("{6EB22885-8A19-11D0-81B6-00A0C9231C29}")
$CLSID_MTSAdmin_RemoteComponentUtil = GUID$("{6EB22886-8A19-11D0-81B6-00A0C9231C29}")
$CLSID_MTSAdmin_RoleAssociationUtil = GUID$("{6EB22887-8A19-11D0-81B6-00A0C9231C29}")
$CLSID_MTSAdmin_Catalog = GUID$("{6EB22881-8A19-11D0-81B6-00A0C9231C29}")
' ========================================================================================
' IIDs (Interface identifiers)
' ========================================================================================
$IID_MTSAdmin_ICatalog = GUID$("{6EB22870-8A19-11D0-81B6-00A0C9231C29}")
$IID_MTSAdmin_ICatalogCollection = GUID$("{6EB22872-8A19-11D0-81B6-00A0C9231C29}")
$IID_MTSAdmin_ICatalogObject = GUID$("{6EB22871-8A19-11D0-81B6-00A0C9231C29}")
$IID_MTSAdmin_IComponentUtil = GUID$("{6EB22873-8A19-11D0-81B6-00A0C9231C29}")
$IID_MTSAdmin_IPackageUtil = GUID$("{6EB22874-8A19-11D0-81B6-00A0C9231C29}")
$IID_MTSAdmin_IRemoteComponentUtil = GUID$("{6EB22875-8A19-11D0-81B6-00A0C9231C29}")
$IID_MTSAdmin_IRoleAssociationUtil = GUID$("{6EB22876-8A19-11D0-81B6-00A0C9231C29}")
' ========================================================================================
' MTSPackageInstallOptions enum <alias> __MIDL___MIDL_itf_mtxadmin_0107_0001
' Package install options - these options can be or'ed together
' ========================================================================================
%EQUATE `mtsInstallUsers = 1& ' &H1
' ========================================================================================
' MTSPackageExportOptions enum <alias> __MIDL___MIDL_itf_mtxadmin_0107_0002
' Package export options - these options can be or'ed together
' ========================================================================================
%EQUATE `mtsExportUsers = 1& ' &H1
' ========================================================================================
' MTSAdminErrorCodes enum <alias> __MIDL___MIDL_itf_mtxadmin_0107_0003
' Error codes (HRESULTS)
' ========================================================================================
%EQUATE `mtsErrObjectErrors = -2146368511& ' &H80110401
%EQUATE `mtsErrObjectInvalid = -2146368510& ' &H80110402
%EQUATE `mtsErrKeyMissing = -2146368509& ' &H80110403
%EQUATE `mtsErrAlreadyInstalled = -2146368508& ' &H80110404
%EQUATE `mtsErrDownloadFailed = -2146368507& ' &H80110405
%EQUATE `mtsErrPDFWriteFail = -2146368505& ' &H80110407
%EQUATE `mtsErrPDFReadFail = -2146368504& ' &H80110408
%EQUATE `mtsErrPDFVersion = -2146368503& ' &H80110409
%EQUATE `mtsErrBadPath = -2146368502& ' &H8011040A
%EQUATE `mtsErrPackageExists = -2146368501& ' &H8011040B
%EQUATE `mtsErrRoleExists = -2146368500& ' &H8011040C
%EQUATE `mtsErrCantCopyFile = -2146368499& ' &H8011040D
%EQUATE `mtsErrNoTypeLib = -2146368498& ' &H8011040E
%EQUATE `mtsErrNoUser = -2146368497& ' &H8011040F
%EQUATE `mtsErrInvalidUserids = -2146368496& ' &H80110410
%EQUATE `mtsErrNoRegistryCLSID = -2146368495& ' &H80110411
%EQUATE `mtsErrBadRegistryProgID = -2146368494& ' &H80110412
%EQUATE `mtsErrAuthenticationLevel = -2146368493& ' &H80110413
%EQUATE `mtsErrUserPasswdNotValid = -2146368492& ' &H80110414
%EQUATE `mtsErrNoRegistryRead = -2146368491& ' &H80110415
%EQUATE `mtsErrNoRegistryWrite = -2146368490& ' &H80110416
%EQUATE `mtsErrNoRegistryRepair = -2146368489& ' &H80110417
%EQUATE `mtsErrCLSIDOrIIDMismatch = -2146368488& ' &H80110418
%EQUATE `mtsErrRemoteInterface = -2146368487& ' &H80110419
%EQUATE `mtsErrDllRegisterServer = -2146368486& ' &H8011041A
%EQUATE `mtsErrNoServerShare = -2146368485& ' &H8011041B
%EQUATE `mtsErrNoAccessToUNC = -2146368484& ' &H8011041C
%EQUATE `mtsErrDllLoadFailed = -2146368483& ' &H8011041D
%EQUATE `mtsErrBadRegistryLibID = -2146368482& ' &H8011041E
%EQUATE `mtsErrPackDirNotFound = -2146368481& ' &H8011041F
%EQUATE `mtsErrTreatAs = -2146368480& ' &H80110420
%EQUATE `mtsErrBadForward = -2146368479& ' &H80110421
%EQUATE `mtsErrBadIID = -2146368478& ' &H80110422
%EQUATE `mtsErrRegistrarFailed = -2146368477& ' &H80110423
%EQUATE `mtsErrCompFileDoesNotExist = -2146368476& ' &H80110424
%EQUATE `mtsErrCompFileLoadDLLFail = -2146368475& ' &H80110425
%EQUATE `mtsErrCompFileGetClassObj = -2146368474& ' &H80110426
%EQUATE `mtsErrCompFileClassNotAvail = -2146368473& ' &H80110427
%EQUATE `mtsErrCompFileBadTLB = -2146368472& ' &H80110428
%EQUATE `mtsErrCompFileNotInstallable = -2146368471& ' &H80110429
%EQUATE `mtsErrNotChangeable = -2146368470& ' &H8011042A
%EQUATE `mtsErrNotDeletable = -2146368469& ' &H8011042B
%EQUATE `mtsErrSession = -2146368468& ' &H8011042C
%EQUATE `mtsErrCompMoveLocked = -2146368467& ' &H8011042d
%EQUATE `mtsErrCompMoveBadDest = -2146368466& ' &H8011042e
%EQUATE `mtsErrRegisterTLB = -2146368464& ' &H80110430
%EQUATE `mtsErrSystemPack = -2146368461& ' &H80110433
%EQUATE `mtsErrCompFileNoRegistrar = -2146368460& ' &H80110434
%EQUATE `mtsErrCoReqCompInstalled = -2146368496& ' &H80110410
%EQUATE `mtsErrPropSaveFailed = -2146368457& ' &H80110437
%EQUATE `mtsErrObjectExists = -2146368456& ' &H80110438
%EQUATE `mtsErrRegFileCorrupt = -2146368453& ' &H8011043b
%EQUATE `mtsErrPropertyOverflow = -2146368452& ' &H8011043c
%EQUATE `mtsErrNotInRegistry = -2146368450& ' &H8011043e
%EQUATE `mtsErrApplidMatchesClsid = -2146368442& ' &H80110446
%EQUATE `mtsErrRoleDoesNotExist = -2146368441& ' &H80110447
%EQUATE `mtsErrObjectParentMissing = -2146367480& ' &H80110808
%EQUATE `mtsErrObjectDoesNotExist = -2146367479& ' &H80110809
%EQUATE `mtsErrCanNotExportAppProxy = -2146368438& ' &H8011044a
%EQUATE `mtsErrCanNotExportSystemPack = -2146368436& ' &H8011044c
%EQUATE `E_MTS_OBJECTERRORS = %mtsErrObjectErrors
%EQUATE `E_MTS_OBJECTINVALID = %mtsErrObjectInvalid
%EQUATE `E_MTS_KEYMISSING = %mtsErrKeyMissing
%EQUATE `E_MTS_ALREADYINSTALLED = %mtsErrAlreadyInstalled
%EQUATE `E_MTS_DOWNLOADFAILED = %mtsErrDownloadFailed
%EQUATE `E_MTS_PDFWRITEFAIL = %mtsErrPDFWriteFail
%EQUATE `E_MTS_PDFREADFAIL = %mtsErrPDFReadFail
%EQUATE `E_MTS_PDFVERSION = %mtsErrPDFVersion
%EQUATE `E_MTS_BADPATH = %mtsErrBadPath
%EQUATE `E_MTS_PACKAGEEXISTS = %mtsErrPackageExists
%EQUATE `E_MTS_ROLEEXISTS = %mtsErrRoleExists
%EQUATE `E_MTS_CANTCOPYFILE = %mtsErrCantCopyFile
%EQUATE `E_MTS_NOTYPELIB = %mtsErrNoTypeLib
%EQUATE `E_MTS_NOUSER = %mtsErrNoUser
%EQUATE `E_MTS_INVALIDUSERIDS = %mtsErrInvalidUserids
%EQUATE `E_MTS_NOREGISTRYCLSID = %mtsErrNoRegistryCLSID
%EQUATE `E_MTS_BADREGISTRYPROGID = %mtsErrBadRegistryProgID
%EQUATE `E_MTS_AUTHENTICATIONLEVEL = %mtsErrAuthenticationLevel
%EQUATE `E_MTS_USERPASSWDNOTVALID = %mtsErrUserPasswdNotValid
%EQUATE `E_MTS_NOREGISTRYREAD = %mtsErrNoRegistryRead
%EQUATE `E_MTS_NOREGISTRYWRITE = %mtsErrNoRegistryWrite
%EQUATE `E_MTS_NOREGISTRYREPAIR = %mtsErrNoRegistryRepair
%EQUATE `E_MTS_CLSIDORIIDMISMATCH = %mtsErrCLSIDOrIIDMismatch
%EQUATE `E_MTS_REMOTEINTERFACE = %mtsErrRemoteInterface
%EQUATE `E_MTS_DLLREGISTERSERVER = %mtsErrDllRegisterServer
%EQUATE `E_MTS_NOSERVERSHARE = %mtsErrNoServerShare
%EQUATE `E_MTS_NOACCESSTOUNC = %mtsErrNoAccessToUNC
%EQUATE `E_MTS_DLLLOADFAILED = %mtsErrDllLoadFailed
%EQUATE `E_MTS_BADREGISTRYLIBID = %mtsErrBadRegistryLibID
%EQUATE `E_MTS_PACKDIRNOTFOUND = %mtsErrPackDirNotFound
%EQUATE `E_MTS_TREATAS = %mtsErrTreatAs
%EQUATE `E_MTS_BADFORWARD = %mtsErrBadForward
%EQUATE `E_MTS_BADIID = %mtsErrBadIID
%EQUATE `E_MTS_REGISTRARFAILED = %mtsErrRegistrarFailed
%EQUATE `E_MTS_COMPFILE_DOESNOTEXIST = %mtsErrCompFileDoesNotExist
%EQUATE `E_MTS_COMPFILE_LOADDLLFAIL = %mtsErrCompFileLoadDLLFail
%EQUATE `E_MTS_COMPFILE_GETCLASSOBJ = %mtsErrCompFileGetClassObj
%EQUATE `E_MTS_COMPFILE_CLASSNOTAVAIL = %mtsErrCompFileClassNotAvail
%EQUATE `E_MTS_COMPFILE_BADTLB = %mtsErrCompFileBadTLB
%EQUATE `E_MTS_COMPFILE_NOTINSTALLABLE = %mtsErrCompFileNotInstallable
%EQUATE `E_MTS_NOTCHANGEABLE = %mtsErrNotChangeable
%EQUATE `E_MTS_NOTDELETEABLE = %mtsErrNotDeletable
%EQUATE `E_MTS_SESSION = %mtsErrSession
%EQUATE `E_MTS_COMP_MOVE_LOCKED = %mtsErrCompMoveLocked
%EQUATE `E_MTS_COMP_MOVE_BAD_DEST = %mtsErrCompMoveBadDest
%EQUATE `E_MTS_REGISTERTLB = %mtsErrRegisterTLB
%EQUATE `E_MTS_SYSTEMPACK = %mtsErrSystemPack
%EQUATE `E_MTS_COMPFILE_NOREGISTRAR = %mtsErrCompFileNoRegistrar
%EQUATE `E_MTS_COREQCOMPINSTALLED = %mtsErrCoReqCompInstalled
%EQUATE `E_MTS_PROPERTYSAVEFAILED = %mtsErrPropSaveFailed
%EQUATE `E_MTS_OBJECTEXISTS = %mtsErrObjectExists
%EQUATE `E_MTS_REGFILE_CORRUPT = %mtsErrRegFileCorrupt
%EQUATE `E_MTS_PROPERTY_OVERFLOW = %mtsErrPropertyOverflow
%EQUATE `E_MTS_NOTINREGISTRY = %mtsErrNotInRegistry
%EQUATE `E_MTS_APPLID_MATCHES_CLSID = %mtsErrApplidMatchesClsid
%EQUATE `E_MTS_ROLE_DOES_NOT_EXIST = %mtsErrRoleDoesNotExist
%EQUATE `E_MTS_OBJECT_PARENT_MISSING = %mtsErrObjectParentMissing
%EQUATE `E_MTS_OBJECT_DOES_NOT_EXIST = %mtsErrObjectDoesNotExist
%EQUATE `E_MTS_CAN_NOT_EXPORT_APP_PROXY = %mtsErrCanNotExportAppProxy
%EQUATE `E_MTS_CAN_NOT_EXPORT_SYSTEM_PACK = %mtsErrCanNotExportSystemPack
' ########################################################################################
' Interface name = ICatalog
' IID = {6EB22870-8A19-11D0-81B6-00A0C9231C29}
' ICatalog Interface
' Attributes = 4160 [&H1040] [Dual] [Dispatchable]
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%MTSAdmin_ICatalog_INTERFACE_DEFINED)
 %MTSAdmin_ICatalog_INTERFACE_DEFINED = 1
INTERFACE MTSAdmin_ICatalog $IID_MTSAdmin_ICatalog
 INHERIT IDispatch
 ' =====================================================================================
 METHOD GetCollection <1> ( ' VTable offset = 28
 BYVAL bstrCollName AS WSTRING
 ) AS IDispatch
 ' =====================================================================================
 METHOD Connect <2> ( ' VTable offset = 32
 BYVAL bstrConnectString AS WSTRING
 ) AS IDispatch
 ' =====================================================================================
 PROPERTY GET MajorVersion <3> ( ' VTable offset = 36
 ) AS LONG
 ' =====================================================================================
 PROPERTY GET MinorVersion <4> ( ' VTable offset = 40
 ) AS LONG
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __MTSAdmin_ICatalog_INTERFACE_DEFINED__ */
' ########################################################################################
' Interface name = ICatalogObject
' IID = {6EB22871-8A19-11D0-81B6-00A0C9231C29}
' Attributes = 4160 [&H1040] [Dual] [Dispatchable]
' Inherited interface = IDispatch
' Note Same interface as COMAdmin_ICatalogObject included in comadmin.inc
' ########################################################################################
#IF NOT %DEF(%MTSAdmin_ICatalogObject_INTERFACE_DEFINED)
 %MTSAdmin_ICatalogObject_INTERFACE_DEFINED = 1
INTERFACE MTSAdmin_ICatalogObject $IID_MTSAdmin_ICatalogObject
 INHERIT IDispatch
 ' =====================================================================================
 PROPERTY GET Value <1> ( ' VTable offset = 28
 BYVAL bstrPropName AS WSTRING
 ) AS VARIANT
 ' =====================================================================================
 PROPERTY SET Value <1> ( ' VTable offset = 32
 BYVAL bstrPropName AS WSTRING
 , BYVAL val AS VARIANT
 ) ' void
 ' =====================================================================================
 PROPERTY GET Key <2> ( ' VTable offset = 36
 ) AS VARIANT
 ' =====================================================================================
 PROPERTY GET Name <3> ( ' VTable offset = 40
 ) AS VARIANT
 ' =====================================================================================
 METHOD IsPropertyReadOnly <4> ( ' VTable offset = 44
 BYVAL bstrPropName AS WSTRING
 ) AS INTEGER
 ' =====================================================================================
 PROPERTY GET Valid <5> ( ' VTable offset = 48
 ) AS INTEGER
 ' =====================================================================================
 METHOD IsPropertyWriteOnly <6> ( ' VTable offset = 52
 BYVAL bstrPropName AS WSTRING
 ) AS INTEGER
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __MTSAdmin_ICatalogObject_INTERFACE_DEFINED__ */
' ########################################################################################
' Interface name = ICatalogCollection
' IID = {6EB22872-8A19-11D0-81B6-00A0C9231C29}
' Attributes = 4160 [&H1040] [Dual] [Dispatchable]
' Inherited interface = IDispatch
' Note Same interface as COMAdmin_ICatalogCollection included in comadmin.inc
' ########################################################################################
#IF NOT %DEF(%MTSAdmin_ICatalogCollection_INTERFACE_DEFINED)
 %MTSAdmin_ICatalogCollection_INTERFACE_DEFINED = 1
INTERFACE MTSAdmin_ICatalogCollection $IID_MTSAdmin_ICatalogCollection
 INHERIT IDispatch
 ' =====================================================================================
 PROPERTY GET NewEnum_ <-4> ( ' VTable offset = 28
 ) AS IUnknown
 ' =====================================================================================
 PROPERTY GET Item <1> ( ' VTable offset = 32
 BYVAL lIndex AS LONG
 ) AS IDispatch
 ' =====================================================================================
 PROPERTY GET Count <1610743810> ( ' VTable offset = 36
 ) AS LONG
 ' =====================================================================================
 METHOD Remove <1610743811> ( ' VTable offset = 40
 BYVAL lIndex AS LONG
 ) ' void
 ' =====================================================================================
 METHOD Add <1610743812> ( ' VTable offset = 44
 ) AS IDispatch
 ' =====================================================================================
 METHOD Populate <2> ( ' VTable offset = 48
 ) ' void
 ' =====================================================================================
 METHOD SaveChanges <3> ( ' VTable offset = 52
 ) AS LONG
 ' =====================================================================================
 METHOD GetCollection <4> ( ' VTable offset = 56
 BYVAL bstrCollName AS WSTRING
 , BYVAL varObjectKey AS VARIANT
 ) AS IDispatch
 ' =====================================================================================
 PROPERTY GET Name <6> ( ' VTable offset = 60
 ) AS VARIANT
 ' =====================================================================================
 PROPERTY GET AddEnabled <7> ( ' VTable offset = 64
 ) AS INTEGER
 ' =====================================================================================
 PROPERTY GET RemoveEnabled <8> ( ' VTable offset = 68
 ) AS INTEGER
 ' =====================================================================================
 METHOD GetUtilInterface <9> ( ' VTable offset = 72
 ) AS IDispatch
 ' =====================================================================================
 PROPERTY GET DataStoreMajorVersion <10> ( ' VTable offset = 76
 ) AS LONG
 ' =====================================================================================
 PROPERTY GET DataStoreMinorVersion <11> ( ' VTable offset = 80
 ) AS LONG
 ' =====================================================================================
 METHOD PopulateByKey <12> ( ' VTable offset = 84
 BYVAL psaKeys AS DWORD
 ) ' void
 ' =====================================================================================
 METHOD PopulateByQuery <13> ( ' VTable offset = 88
 BYVAL bstrQueryString AS WSTRING
 , BYVAL lQueryType AS LONG
 ) ' void
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __MTSAdmin_ICatalogCollection_INTERFACE_DEFINED__ */
' ########################################################################################
' Interface name = IComponentUtil
' IID = {6EB22873-8A19-11D0-81B6-00A0C9231C29}
' Attributes = 4160 [&H1040] [Dual] [Dispatchable]
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%MTSAdmin_IComponentUtil_INTERFACE_DEFINED)
 %MTSAdmin_IComponentUtil_INTERFACE_DEFINED = 1
INTERFACE MTSAdmin_IComponentUtil $IID_MTSAdmin_IComponentUtil
 INHERIT IDispatch
 ' =====================================================================================
 METHOD InstallComponent <1> ( ' VTable offset = 28
 BYVAL bstrDLLFile AS WSTRING
 , BYVAL bstrTypelibFile AS WSTRING
 , BYVAL bstrProxyStubDLLFile AS WSTRING
 ) ' void
 ' =====================================================================================
 METHOD ImportComponent <2> ( ' VTable offset = 32
 BYVAL bstrCLSID AS WSTRING
 ) ' void
 ' =====================================================================================
 METHOD ImportComponentByName <3> ( ' VTable offset = 36
 BYVAL bstrProgID AS WSTRING
 ) ' void
 ' =====================================================================================
 METHOD GetCLSIDs <4> ( ' VTable offset = 40
 BYVAL bstrDLLFile AS WSTRING
 , BYVAL bstrTypelibFile AS WSTRING
 , BYREF aCLSIDs AS DWORD ' SAFEARRAY **aCLSIDs
 ) ' void
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __MTSAdmin_IComponentUtil_INTERFACE_DEFINED__ */
' ########################################################################################
' Interface name = IPackageUtil
' IID = {6EB22874-8A19-11D0-81B6-00A0C9231C29}
' Attributes = 4160 [&H1040] [Dual] [Dispatchable]
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%MTSAdmin_IPackageUtil_INTERFACE_DEFINED)
 %MTSAdmin_IPackageUtil_INTERFACE_DEFINED = 1
INTERFACE MTSAdmin_IPackageUtil $IID_MTSAdmin_IPackageUtil
 INHERIT IDispatch
 ' =====================================================================================
 METHOD InstallPackage <1> ( ' VTable offset = 28
 BYVAL bstrPackageFile AS WSTRING
 , BYVAL bstrInstallPath AS WSTRING
 , BYVAL lOptions AS LONG
 ) ' void
 ' =====================================================================================
 METHOD ExportPackage <2> ( ' VTable offset = 32
 BYVAL bstrPackageID AS WSTRING
 , BYVAL bstrPackageFile AS WSTRING
 , BYVAL lOptions AS LONG
 ) ' void
 ' =====================================================================================
 METHOD ShutdownPackage <3> ( ' VTable offset = 36
 BYVAL bstrPackageID AS WSTRING
 ) ' void
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __MTSAdmin_IPackageUtil_INTERFACE_DEFINED__ */
' ########################################################################################
' Interface name = IRemoteComponentUtil
' IID = {6EB22875-8A19-11D0-81B6-00A0C9231C29}
' IRemoteComponentUtil Interface
' Attributes = 4160 [&H1040] [Dual] [Dispatchable]
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%MTSAdmin_IRemoteComponentUtil_INTERFACE_DEFINED)
 %MTSAdmin_IRemoteComponentUtil_INTERFACE_DEFINED = 1
INTERFACE MTSAdmin_IRemoteComponentUtil $IID_MTSAdmin_IRemoteComponentUtil
 INHERIT IDispatch
 ' =====================================================================================
 METHOD InstallRemoteComponent <10> ( ' VTable offset = 28
 BYVAL bstrServer AS WSTRING
 , BYVAL bstrPackageID AS WSTRING
 , BYVAL bstrCLSID AS WSTRING
 ) ' void
 ' =====================================================================================
 METHOD InstallRemoteComponentByName <11> ( ' VTable offset = 32
 BYVAL bstrServer AS WSTRING
 , BYVAL bstrPackageName AS WSTRING
 , BYVAL bstrProgID AS WSTRING
 ) ' void
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __MTSAdmin_IRemoteComponentUtil_INTERFACE_DEFINED__ */
' ########################################################################################
' Interface name = IRoleAssociationUtil
' IID = {6EB22876-8A19-11D0-81B6-00A0C9231C29}
' Attributes = 4160 [&H1040] [Dual] [Dispatchable]
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%MTSAdmin_IRoleAssociationUtil_INTERFACE_DEFINED)
 %MTSAdmin_IRoleAssociationUtil_INTERFACE_DEFINED = 1
INTERFACE MTSAdmin_IRoleAssociationUtil $IID_MTSAdmin_IRoleAssociationUtil
 INHERIT IDispatch
 ' =====================================================================================
 METHOD AssociateRole <1> ( ' VTable offset = 28
 BYVAL bstrRoleID AS WSTRING
 ) ' void
 ' =====================================================================================
 METHOD AssociateRoleByName <2> ( ' VTable offset = 32
 BYVAL bstrRoleName AS WSTRING
 ) ' void
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __MTSAdmin_IRoleAssociationUtil_INTERFACE_DEFINED__ */
#ENDIF
