winreg - access mask
Tim Roberts
timr at probo.com
Sat May 1 00:29:05 EDT 2010
Richard Lamboj <richard.lamboj at bilcom.at> wrote:
>
>if i want to read, write a key and set a value, does i only need to set
>KEY_WRITE, or does i need to set KEY_READ, KEY_WRITE and KEY_SET_VALUE?
>
>This questions is related to the OpenKey Function.
You need KEY_READ|KEY_WRITE|KEY_SET_VALUE. Those constants are straight
from the Windows API.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list