From: Richard Lamboj on 28 Apr 2010 05:02 Hello, 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. http://docs.python.org/py3k/library/winreg.html <- The other Access modes are missing in the Documentation, or i need new glasses. Kind Regards, Richi
From: Tim Roberts on 1 May 2010 00:29 Richard Lamboj <richard.lamboj(a)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(a)probo.com Providenza & Boekelheide, Inc.
|
Pages: 1 Prev: Remembering the context Next: Need help in python plug-in development |