Attribute VB_Name = "RepEng"
' ------------------------------------------------------------------------
' Copyright (c) 1998-1999 Microsoft Corporation. All rights reserved.
'
' This software is provided as is without warranty of any kind. The entire
' risk as to the results and performance of this software is assumed by the user.
' Microsoft disclaims all warranties, either express or implied, including but
' not limited, the implied warranties of merchantability, fitness for a
' particular purpose, title and noninfringement, with respect to this software.
' ------------------------------------------------------------------------
'$include 'odbcor_g.bi'
'$include 'odbext_g.bi'
'
' ------------------------------------------------------------------------
' This file contains a bunch of variant declarations for variables that
' represent object identifiers for repository Type Information Model objects.
' (For more information about Type Information Model objects, see the
' Repository Programmer's Guide in Visual Basic Books Online.)
' A pile of error number constants for repository specific errors are also defined.
'
' Two subroutines (DEFINE_OBJID and InitRepository) and one function (InitGuid)
' are also contained in this file.
' ------------------------------------------------------------------------
' repodbc error code
Public const EREP_BADPARAMS = &H80041000
Public const EREP_BADNAME = &H80041001
Public const EREP_BADDRIVER = &H80041002
Public const EREP_BADERROR = &H80041003
Public const EREP_BUFFER_OVERFLOW = &H80041004
Public const EREP_NAMETOOLONG = &H80041005
Public const EREP_NOROWSFOUND = &H80041011
Public const EREP_ODBC_CERROR = &H80041012
Public const EREP_ODBC_MDBNOTFOUND = &H80041013
Public const EREP_NEED_DATA = &H80041014
Public const EREP_ODBC_UNKNOWNDRIVER = &H80041015
Public const EREP_ODBC_CREATEFAILED = &H80041016
Public const EREP_ODBC_WARNINGS = &H80041017
Public const EREP_STILL_EXECUTING = &H80041018
Public const EREP_ODBC_NOTCAPABLE = &H80041019
Public const EREP_DB_EXISTS = &H80041030
Public const EREP_DB_NOTCONNECTED = &H80041031
Public const EREP_DB_ALREADYCONNECTED = &H80041032
Public const EREP_DB_DBMSONETHREAD = &H80041033
Public const EREP_DB_CORRUPT = &H80041034
Public const EREP_DB_NOSCHEMA = &H80041035
Public const EREP_DB_DBMSOLD = &H80041036
Public const EREP_DB_READONLY = &H80041037
Public const EREP_DB_INCOMPATIBLEVERSION = &H80041038
Public const EREP_DB_UPGRADE = &H80041039
Public const EREP_TXN_NOTXNACTIVE = &H80041041
Public const EREP_TXN_AUTOABORT = &H80041042
Public const EREP_TXN_TOOMANY = &H80041043
Public const EREP_TXN_TIMEOUT = &H80041044
Public const EREP_TXN_NODATA = &H80041045
Public const EREP_TXN_NOSETINTXN = &H80041046
Public const EREP_TXN_OBJABORTED = &H80041047
Public const EREP_TXN_COLABORTED = &H80041048
Public const EREP_REPOS_CACHEFULL = &H80041070
Public const EREP_REPOS_NONEXTDISPID = &H80041071
Public const EREP_REPOS_DUPEDISPID = &H80041072
Public const EREP_RELSHIP_EXISTS = &H80041100
Public const EREP_RELSHIP_INVALID_PAIR = &H80041101
Public const EREP_RELSHIP_NOTFOUND = &H80041102
Public const EREP_RELSHIP_ORGONLY = &H80041105
Public const EREP_RELSHIP_OUTOFDATE = &H80041106
Public const EREP_RELSHIP_INVALIDFLAGS = &H80041107
Public const EREP_RELSHIP_NAMEINVALID = &H80041108
Public const EREP_RELSHIP_DUPENAME = &H80041109
Public const EREP_RELSHIP_NONNAMINGCOL = &H80041110
Public const EREP_TYPE_TABLEMISMATCH = &H80041120
Public const EREP_TYPE_COLMISMATCH = &H80041121
Public const EREP_TYPE_NOTNULLABLE = &H80041122
Public const EREP_TYPE_MULTIDEFIFACES = &H80041123
Public const EREP_TYPE_INVERTEDNOTALLOWED = &H80041124
Public const EREP_TYPE_INVALIDSCALE = &H80041125
Public const EREP_TYPE_BADTABLENAME = &H80041126
Public const EREP_TYPE_MULTIPLEANCESTORS = &H80041127
Public const EREP_LOCK_TIMEOUT = &H80041200
Public const EREP_QRY_BADCOLUMNS = &H80041250
Public const EREP_OBJ_NOTINITIALIZED = &H80041300
Public const EREP_OBJ_NOTFOUND = &H80041301
Public const EREP_OBJ_NONAMINGRELSHIP = &H80041302
Public const EREP_OBJ_EXISTS = &H80041303
Public const EREP_VERSION_NOTFOUND = &H80041304
Public const EREP_PROP_MISMATCH = &H80041400
Public const EREP_PROP_SETINVALID = &H80041401
Public const EREP_PROP_CANTSETREPTIM = &H80041403
Public const EREP_PROP_READONLY = &H80041404
Public const EREP_PROP_NOTEXISTS = &H80041405
Public const EREP_TIM_INVALIDFLAGS = &H80041500
Public const EREP_TIM_FLAGSDEST = &H80041501
Public const EREP_TIM_RELTYPEINVALID = &H80041502
Public const EREP_TIM_CTYPEINVALID = &H80041503
Public const EREP_TIM_TOOMANYCOLS = &H80041504
Public const EREP_TIM_SQLTYPEINVALID = &H80041505
Public const EREP_TIM_SQLSIZEINVALID = &H80041506
Public const EREP_VM_CANTSETFROZEN = &H80041600
Public const EREP_VM_MERGETOFROZEN = &H80041601
Public const EREP_VM_MERGEFROMUNFROZEN = &H80041602
Public const EREP_VM_UNFROZENVERSION = &H80041603
Public const EREP_VM_FROZENVERSION = &H80041604
Public const EREP_VM_CHECKEDOUTVERSION = &H80041605
Public const EREP_VM_DUPBRANCHID = &H80041606
Public const EREP_VM_SUCCESSOREXISTS = &H80041607
Public const EREP_REL_ORGFROZEN = &H80041700
Public const EREP_REL_ORGCLONE = &H80041701
Public const EREP_REL_NONSEQONLY = &H80041702
Public const EREP_REL_ORGPIN = &H80041703
Public const EREP_REL_NOTPINNED = &H80041704
Public const EREP_WKS_ITEMEXISTS = &H80041800
Public const EREP_WKS_ITEMNOTEXISTS = &H80041801
Public const EREP_NOTWORKSPACEITEM = &H80041802
Public const EREP_ITEMNOTCHECKEDOUT = &H80041803
Public const EREP_VCOL_VERSIONNOTMEMBER = &H80041900
Public const EREP_VCOL_INVALIDOP = &H80041901
Public const EREP_COL_NOTSEQUENCED = &H80041950
Public const EREP_VM_DIFFERENTTYPES = &H80042000
Public const EREP_BLOB_SEEKPASTEND = &H80041A01
Public const EREP_BLOB_TEMPFILE = &H80041A02
Public const EREP_BLOB_USERFILE = &H80041A03
Public const EREP_BLOB_CANNOTSETPOS = &H80041A04
Public const EREP_MEMDEL_COLNOTDEFINED = &H80041B00
Public const EREP_MEMDEL_BASEIFACENOTIMPL = &H80041B01
Public const EREP_MEMDEL_BASECOLVIRTUAL = &H80041B02
Public const EREP_MEMDEL_MULTIPLEBASES = &H80041B03
Public const EREP_MEMDEL_CIRCULARCOLS = &H80041B04
Public const EREP_MEMDEL_DELCOLINVALID = &H80041B05
Public const EREP_COL_OBJECTNAMING = &H80041C00
Public const EREP_COL_OBJECTNOTNAMED = &H80041C01
Public const EREP_INVALIDDEPENDENCY = &H80041C02
Public const EREP_UNKNOWNPROPERTY = &H80041D00
Public const EREP_MISSINGLEFTBRACKET = &H80041D01
Public const EREP_MISSINGRIGHTBRACKET = &H80041D02
Public const EREP_MISSINGLEFTPARENTHESIS = &H80041D03
Public const EREP_MISSINGRIGHTPARENTHESIS = &H80041D04
Public const EREP_MISSINGCOMMA = &H80041D05
Public const EREP_PROPERTYNOTFOUND = &H80041D06
Public const EREP_INVALIDFILTER = &H80041D07
Public const EREP_SCRIPT_NESTEDCALL = &H80041D08
Public const EREP_SCRIPT_NOTFOUND = &H80041D09
Public const EREP_SCRIPT_INVALIDLANGUAGE = &H80041D0A
Public const EREP_VIRTUAL_ALIAS = &H80041D0B
Public const EREP_VIRTUAL_CALL = &H80041D0C
Public const EREP_CLASS_TOOCOMPLEX = &H80041E00
Public const EREP_RTIM_CLASS_IS_NOT_CREATEABLE = &H80041E02
Public const EREP_NAME_NOTUNIQUE = &H80041E03
Public CLSID_RepositoryObject As Variant
'Repository Type Information Model Object IDs
Public OBJID_ClassDef As Variant
Public OBJID_InterfaceDef As Variant
Public OBJID_CollectionDef As Variant
Public OBJID_MethodDef As Variant
Public OBJID_PropertyDef As Variant
Public OBJID_RelationshipDef As Variant
Public OBJID_ReposTypeLib As Variant
Public OBJID_ReposRoot As Variant
Public OBJID_IUnknown As Variant
Public OBJID_IDispatch As Variant
Public OBJID_IReposDispatch As Variant
Public OBJID_IReposTypeInfo As Variant
Public OBJID_IClassDef As Variant
Public OBJID_IInterfaceDef As Variant
Public OBJID_IInterfaceMember As Variant
Public OBJID_IPropertyDef As Variant
Pu