@@ -68,7 +68,7 @@ This module offers the following functions:
68
68
alias of :exc: `OSError `.
69
69
70
70
71
- .. function :: CreateKeyEx(key, sub_key, reserved=0, access=KEY_ALL_ACCESS )
71
+ .. function :: CreateKeyEx(key, sub_key, reserved=0, access=KEY_WRITE )
72
72
73
73
Creates or opens the specified key, returning a
74
74
:ref: `handle object <handle-object >`.
@@ -78,10 +78,10 @@ This module offers the following functions:
78
78
79
79
*sub_key * is a string that names the key this method opens or creates.
80
80
81
- *res * is a reserved integer, and must be zero. The default is zero.
81
+ *reserved * is a reserved integer, and must be zero. The default is zero.
82
82
83
- *sam * is an integer that specifies an access mask that describes the desired
84
- security access for the key. Default is :const: `KEY_ALL_ACCESS `. See
83
+ *access * is an integer that specifies an access mask that describes the desired
84
+ security access for the key. Default is :const: `KEY_WRITE `. See
85
85
:ref: `Access Rights <access-rights >` for other allowed values.
86
86
87
87
If *key * is one of the predefined keys, *sub_key * may be ``None ``. In that
@@ -119,7 +119,7 @@ This module offers the following functions:
119
119
alias of :exc: `OSError `.
120
120
121
121
122
- .. function :: DeleteKeyEx(key, sub_key, access=KEY_ALL_ACCESS , reserved=0)
122
+ .. function :: DeleteKeyEx(key, sub_key, access=KEY_WOW64_64KEY , reserved=0)
123
123
124
124
Deletes the specified key.
125
125
@@ -136,9 +136,9 @@ This module offers the following functions:
136
136
*key * parameter. This value must not be ``None ``, and the key may not have
137
137
subkeys.
138
138
139
- *res * is a reserved integer, and must be zero. The default is zero.
139
+ *reserved * is a reserved integer, and must be zero. The default is zero.
140
140
141
- *sam * is an integer that specifies an access mask that describes the desired
141
+ *access * is an integer that specifies an access mask that describes the desired
142
142
security access for the key. Default is :const: `KEY_ALL_ACCESS `. See
143
143
:ref: `Access Rights <access-rights >` for other allowed values.
144
144
@@ -272,6 +272,7 @@ This module offers the following functions:
272
272
273
273
274
274
.. function :: OpenKey(key, sub_key, reserved=0, access=KEY_READ)
275
+ OpenKeyEx(key, sub_key, reserved=0, access=KEY_READ)
275
276
276
277
Opens the specified key, returning a :ref: `handle object <handle-object >`.
277
278
@@ -298,12 +299,6 @@ This module offers the following functions:
298
299
alias of :exc: `OSError `.
299
300
300
301
301
- .. function :: OpenKeyEx()
302
-
303
- The functionality of :func: `OpenKeyEx ` is provided via :func: `OpenKey `,
304
- by the use of default arguments.
305
-
306
-
307
302
.. function :: QueryInfoKey(key)
308
303
309
304
Returns information about a key, as a tuple.
@@ -427,11 +422,11 @@ This module offers the following functions:
427
422
*value_name * is a string that names the subkey with which the value is
428
423
associated.
429
424
425
+ *reserved * can be anything -- zero is always passed to the API.
426
+
430
427
*type * is an integer that specifies the type of the data. See
431
428
:ref: `Value Types <value-types >` for the available types.
432
429
433
- *reserved * can be anything -- zero is always passed to the API.
434
-
435
430
*value * is a string that specifies the new value.
436
431
437
432
This method can also set additional value and type information for the specified
0 commit comments