Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

storagecon.py 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. """Constants related to IStorage and related interfaces
  2. This file was generated by h2py from d:\msdev\include\objbase.h
  3. then hand edited, a few extra constants added, etc.
  4. """
  5. STGC_DEFAULT = 0
  6. STGC_OVERWRITE = 1
  7. STGC_ONLYIFCURRENT = 2
  8. STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE = 4
  9. STGC_CONSOLIDATE = 8
  10. STGTY_STORAGE = 1
  11. STGTY_STREAM = 2
  12. STGTY_LOCKBYTES = 3
  13. STGTY_PROPERTY = 4
  14. STREAM_SEEK_SET = 0
  15. STREAM_SEEK_CUR = 1
  16. STREAM_SEEK_END = 2
  17. LOCK_WRITE = 1
  18. LOCK_EXCLUSIVE = 2
  19. LOCK_ONLYONCE = 4
  20. # Generated as from here.
  21. CWCSTORAGENAME = 32
  22. STGM_DIRECT = 0x00000000
  23. STGM_TRANSACTED = 0x00010000
  24. STGM_SIMPLE = 0x08000000
  25. STGM_READ = 0x00000000
  26. STGM_WRITE = 0x00000001
  27. STGM_READWRITE = 0x00000002
  28. STGM_SHARE_DENY_NONE = 0x00000040
  29. STGM_SHARE_DENY_READ = 0x00000030
  30. STGM_SHARE_DENY_WRITE = 0x00000020
  31. STGM_SHARE_EXCLUSIVE = 0x00000010
  32. STGM_PRIORITY = 0x00040000
  33. STGM_DELETEONRELEASE = 0x04000000
  34. STGM_NOSCRATCH = 0x00100000
  35. STGM_CREATE = 0x00001000
  36. STGM_CONVERT = 0x00020000
  37. STGM_FAILIFTHERE = 0x00000000
  38. STGM_NOSNAPSHOT = 0x00200000
  39. ASYNC_MODE_COMPATIBILITY = 0x00000001
  40. ASYNC_MODE_DEFAULT = 0x00000000
  41. STGTY_REPEAT = 0x00000100
  42. STG_TOEND = 0xFFFFFFFF
  43. STG_LAYOUT_SEQUENTIAL = 0x00000000
  44. STG_LAYOUT_INTERLEAVED = 0x00000001
  45. ## access rights used with COM server ACL's
  46. COM_RIGHTS_EXECUTE = 1
  47. COM_RIGHTS_EXECUTE_LOCAL = 2
  48. COM_RIGHTS_EXECUTE_REMOTE = 4
  49. COM_RIGHTS_ACTIVATE_LOCAL = 8
  50. COM_RIGHTS_ACTIVATE_REMOTE = 16
  51. STGFMT_DOCUMENT = 0
  52. STGFMT_STORAGE = 0
  53. STGFMT_NATIVE = 1
  54. STGFMT_FILE = 3
  55. STGFMT_ANY = 4
  56. STGFMT_DOCFILE = 5
  57. PID_DICTIONARY = 0
  58. PID_CODEPAGE = 1
  59. PID_FIRST_USABLE = 2
  60. PID_FIRST_NAME_DEFAULT = 4095
  61. PID_LOCALE = -2147483648
  62. PID_MODIFY_TIME = -2147483647
  63. PID_SECURITY = -2147483646
  64. PID_BEHAVIOR = -2147483645
  65. PID_ILLEGAL = -1
  66. PID_MIN_READONLY = -2147483648
  67. PID_MAX_READONLY = -1073741825
  68. ## DiscardableInformation
  69. PIDDI_THUMBNAIL = 0x00000002
  70. ## SummaryInformation
  71. PIDSI_TITLE = 2
  72. PIDSI_SUBJECT = 3
  73. PIDSI_AUTHOR = 4
  74. PIDSI_KEYWORDS = 5
  75. PIDSI_COMMENTS = 6
  76. PIDSI_TEMPLATE = 7
  77. PIDSI_LASTAUTHOR = 8
  78. PIDSI_REVNUMBER = 9
  79. PIDSI_EDITTIME = 10
  80. PIDSI_LASTPRINTED = 11
  81. PIDSI_CREATE_DTM = 12
  82. PIDSI_LASTSAVE_DTM = 13
  83. PIDSI_PAGECOUNT = 14
  84. PIDSI_WORDCOUNT = 15
  85. PIDSI_CHARCOUNT = 16
  86. PIDSI_THUMBNAIL = 17
  87. PIDSI_APPNAME = 18
  88. PIDSI_DOC_SECURITY = 19
  89. ## DocSummaryInformation
  90. PIDDSI_CATEGORY = 2
  91. PIDDSI_PRESFORMAT = 3
  92. PIDDSI_BYTECOUNT = 4
  93. PIDDSI_LINECOUNT = 5
  94. PIDDSI_PARCOUNT = 6
  95. PIDDSI_SLIDECOUNT = 7
  96. PIDDSI_NOTECOUNT = 8
  97. PIDDSI_HIDDENCOUNT = 9
  98. PIDDSI_MMCLIPCOUNT = 10
  99. PIDDSI_SCALE = 11
  100. PIDDSI_HEADINGPAIR = 12
  101. PIDDSI_DOCPARTS = 13
  102. PIDDSI_MANAGER = 14
  103. PIDDSI_COMPANY = 15
  104. PIDDSI_LINKSDIRTY = 16
  105. ## MediaFileSummaryInfo
  106. PIDMSI_EDITOR = 2
  107. PIDMSI_SUPPLIER = 3
  108. PIDMSI_SOURCE = 4
  109. PIDMSI_SEQUENCE_NO = 5
  110. PIDMSI_PROJECT = 6
  111. PIDMSI_STATUS = 7
  112. PIDMSI_OWNER = 8
  113. PIDMSI_RATING = 9
  114. PIDMSI_PRODUCTION = 10
  115. PIDMSI_COPYRIGHT = 11
  116. ## PROPSETFLAG enum
  117. PROPSETFLAG_DEFAULT = 0
  118. PROPSETFLAG_NONSIMPLE = 1
  119. PROPSETFLAG_ANSI = 2
  120. PROPSETFLAG_UNBUFFERED = 4
  121. PROPSETFLAG_CASE_SENSITIVE = 8
  122. ## STGMOVE enum
  123. STGMOVE_MOVE = 0
  124. STGMOVE_COPY = 1
  125. STGMOVE_SHALLOWCOPY = 2