Declare the MSIDBERROR enumeration.

oldstable
Mike McCormack 2005-06-10 19:29:24 +00:00 committed by Alexandre Julliard
parent 8d9471db99
commit f4c138b3db
1 changed files with 37 additions and 0 deletions

View File

@ -82,6 +82,43 @@ typedef enum tagMSIRUNMODE
MSIRUNMODE_COMMIT = 18
} MSIRUNMODE;
typedef enum tagMSIDBERROR
{
MSIDBERROR_INVALIDARG = -3,
MSIDBERROR_MOREDATA = -2,
MSIDBERROR_FUNCTIONERROR = -1,
MSIDBERROR_NOERROR = 0,
MSIDBERROR_DUPLICATEKEY = 1,
MSIDBERROR_REQUIRED = 2,
MSIDBERROR_BADLINK = 3,
MSIDBERROR_OVERFLOW = 4,
MSIDBERROR_UNDERFLOW = 5,
MSIDBERROR_NOTINSET = 6,
MSIDBERROR_BADVERSION = 7,
MSIDBERROR_BADCASE = 8,
MSIDBERROR_BADGUID = 9,
MSIDBERROR_BADWILDCARD = 10,
MSIDBERROR_BADIDENTIFIER = 11,
MSIDBERROR_BADLANGUAGE = 12,
MSIDBERROR_BADFILENAME = 13,
MSIDBERROR_BADPATH = 14,
MSIDBERROR_BADCONDITION = 15,
MSIDBERROR_BADFORMATTED = 16,
MSIDBERROR_BADTEMPLATE = 17,
MSIDBERROR_BADDEFAULTDIR = 18,
MSIDBERROR_BADREGPATH = 19,
MSIDBERROR_BADCUSTOMSOURCE = 20,
MSIDBERROR_BADPROPERTY = 21,
MSIDBERROR_MISSINGDATA = 22,
MSIDBERROR_BADCATEGORY = 23,
MSIDBERROR_BADKEYTABLE = 24,
MSIDBERROR_BADMAXMINVALUES = 25,
MSIDBERROR_BADCABINET = 26,
MSIDBERROR_BADSHORTCUT= 27,
MSIDBERROR_STRINGOVERFLOW = 28,
MSIDBERROR_BADLOCALIZEATTRIB = 29
} MSIDBERROR;
/* view manipulation */
UINT WINAPI MsiViewFetch(MSIHANDLE,MSIHANDLE*);
UINT WINAPI MsiViewExecute(MSIHANDLE,MSIHANDLE);