diff options
Diffstat (limited to 'PC/_msi.c')
-rw-r--r-- | PC/_msi.c | 68 |
1 files changed, 34 insertions, 34 deletions
@@ -1030,40 +1030,40 @@ PyInit__msi(void) PyModule_AddIntConstant(m, "MSIDBOPEN_TRANSACT", (int)MSIDBOPEN_TRANSACT); PyModule_AddIntConstant(m, "MSIDBOPEN_PATCHFILE", (int)MSIDBOPEN_PATCHFILE); - PyModule_AddIntConstant(m, "MSICOLINFO_NAMES", MSICOLINFO_NAMES); - PyModule_AddIntConstant(m, "MSICOLINFO_TYPES", MSICOLINFO_TYPES); - - PyModule_AddIntConstant(m, "MSIMODIFY_SEEK", MSIMODIFY_SEEK); - PyModule_AddIntConstant(m, "MSIMODIFY_REFRESH", MSIMODIFY_REFRESH); - PyModule_AddIntConstant(m, "MSIMODIFY_INSERT", MSIMODIFY_INSERT); - PyModule_AddIntConstant(m, "MSIMODIFY_UPDATE", MSIMODIFY_UPDATE); - PyModule_AddIntConstant(m, "MSIMODIFY_ASSIGN", MSIMODIFY_ASSIGN); - PyModule_AddIntConstant(m, "MSIMODIFY_REPLACE", MSIMODIFY_REPLACE); - PyModule_AddIntConstant(m, "MSIMODIFY_MERGE", MSIMODIFY_MERGE); - PyModule_AddIntConstant(m, "MSIMODIFY_DELETE", MSIMODIFY_DELETE); - PyModule_AddIntConstant(m, "MSIMODIFY_INSERT_TEMPORARY", MSIMODIFY_INSERT_TEMPORARY); - PyModule_AddIntConstant(m, "MSIMODIFY_VALIDATE", MSIMODIFY_VALIDATE); - PyModule_AddIntConstant(m, "MSIMODIFY_VALIDATE_NEW", MSIMODIFY_VALIDATE_NEW); - PyModule_AddIntConstant(m, "MSIMODIFY_VALIDATE_FIELD", MSIMODIFY_VALIDATE_FIELD); - PyModule_AddIntConstant(m, "MSIMODIFY_VALIDATE_DELETE", MSIMODIFY_VALIDATE_DELETE); - - PyModule_AddIntConstant(m, "PID_CODEPAGE", PID_CODEPAGE); - PyModule_AddIntConstant(m, "PID_TITLE", PID_TITLE); - PyModule_AddIntConstant(m, "PID_SUBJECT", PID_SUBJECT); - PyModule_AddIntConstant(m, "PID_AUTHOR", PID_AUTHOR); - PyModule_AddIntConstant(m, "PID_KEYWORDS", PID_KEYWORDS); - PyModule_AddIntConstant(m, "PID_COMMENTS", PID_COMMENTS); - PyModule_AddIntConstant(m, "PID_TEMPLATE", PID_TEMPLATE); - PyModule_AddIntConstant(m, "PID_LASTAUTHOR", PID_LASTAUTHOR); - PyModule_AddIntConstant(m, "PID_REVNUMBER", PID_REVNUMBER); - PyModule_AddIntConstant(m, "PID_LASTPRINTED", PID_LASTPRINTED); - PyModule_AddIntConstant(m, "PID_CREATE_DTM", PID_CREATE_DTM); - PyModule_AddIntConstant(m, "PID_LASTSAVE_DTM", PID_LASTSAVE_DTM); - PyModule_AddIntConstant(m, "PID_PAGECOUNT", PID_PAGECOUNT); - PyModule_AddIntConstant(m, "PID_WORDCOUNT", PID_WORDCOUNT); - PyModule_AddIntConstant(m, "PID_CHARCOUNT", PID_CHARCOUNT); - PyModule_AddIntConstant(m, "PID_APPNAME", PID_APPNAME); - PyModule_AddIntConstant(m, "PID_SECURITY", PID_SECURITY); + PyModule_AddIntMacro(m, MSICOLINFO_NAMES); + PyModule_AddIntMacro(m, MSICOLINFO_TYPES); + + PyModule_AddIntMacro(m, MSIMODIFY_SEEK); + PyModule_AddIntMacro(m, MSIMODIFY_REFRESH); + PyModule_AddIntMacro(m, MSIMODIFY_INSERT); + PyModule_AddIntMacro(m, MSIMODIFY_UPDATE); + PyModule_AddIntMacro(m, MSIMODIFY_ASSIGN); + PyModule_AddIntMacro(m, MSIMODIFY_REPLACE); + PyModule_AddIntMacro(m, MSIMODIFY_MERGE); + PyModule_AddIntMacro(m, MSIMODIFY_DELETE); + PyModule_AddIntMacro(m, MSIMODIFY_INSERT_TEMPORARY); + PyModule_AddIntMacro(m, MSIMODIFY_VALIDATE); + PyModule_AddIntMacro(m, MSIMODIFY_VALIDATE_NEW); + PyModule_AddIntMacro(m, MSIMODIFY_VALIDATE_FIELD); + PyModule_AddIntMacro(m, MSIMODIFY_VALIDATE_DELETE); + + PyModule_AddIntMacro(m, PID_CODEPAGE); + PyModule_AddIntMacro(m, PID_TITLE); + PyModule_AddIntMacro(m, PID_SUBJECT); + PyModule_AddIntMacro(m, PID_AUTHOR); + PyModule_AddIntMacro(m, PID_KEYWORDS); + PyModule_AddIntMacro(m, PID_COMMENTS); + PyModule_AddIntMacro(m, PID_TEMPLATE); + PyModule_AddIntMacro(m, PID_LASTAUTHOR); + PyModule_AddIntMacro(m, PID_REVNUMBER); + PyModule_AddIntMacro(m, PID_LASTPRINTED); + PyModule_AddIntMacro(m, PID_CREATE_DTM); + PyModule_AddIntMacro(m, PID_LASTSAVE_DTM); + PyModule_AddIntMacro(m, PID_PAGECOUNT); + PyModule_AddIntMacro(m, PID_WORDCOUNT); + PyModule_AddIntMacro(m, PID_CHARCOUNT); + PyModule_AddIntMacro(m, PID_APPNAME); + PyModule_AddIntMacro(m, PID_SECURITY); MSIError = PyErr_NewException ("_msi.MSIError", NULL, NULL); if (!MSIError) |