mercurial/win32.py
changeset 14230 d51630301241
parent 13976 9ca1ff3d4f8c
child 14235 b9e1b041744f
equal deleted inserted replaced
14229:85fd8402cbc4 14230:d51630301241
   178                 return status.value == _STILL_ACTIVE
   178                 return status.value == _STILL_ACTIVE
   179         finally:
   179         finally:
   180             _kernel32.CloseHandle(h)
   180             _kernel32.CloseHandle(h)
   181     return _kernel32.GetLastError() != _ERROR_INVALID_PARAMETER
   181     return _kernel32.GetLastError() != _ERROR_INVALID_PARAMETER
   182 
   182 
   183 def lookup_reg(key, valname=None, scope=None):
   183 def lookupreg(key, valname=None, scope=None):
   184     ''' Look up a key/value name in the Windows registry.
   184     ''' Look up a key/value name in the Windows registry.
   185 
   185 
   186     valname: value name. If unspecified, the default value for the key
   186     valname: value name. If unspecified, the default value for the key
   187     is used.
   187     is used.
   188     scope: optionally specify scope for registry lookup, this can be
   188     scope: optionally specify scope for registry lookup, this can be