parameters: (name)
docstring: Get a registered named path, or None if it doesnt exist.
docstring_summary: Get a registered named path, or None if it doesnt exist.
docstring_tokens: Get a registered named path or None if it doesnt exist .
function: def GetRegisteredNamedPath(name):
  	"""Get a registered named path, or None if it doesnt exist.
  	"""
  	keyStr = BuildDefaultPythonKey() + "\\PythonPath"
  	if name: keyStr = keyStr + "\\" + name
  	try:
  		return win32api.RegQueryValue(GetRootKey(), keyStr)
  	except win32api.error, exc:
  		import winerror
  		if exc.winerror!=winerror.ERROR_FILE_NOT_FOUND:
  			raise
  		return None
function_tokens: def GetRegisteredNamedPath ( name ) : keyStr = BuildDefaultPythonKey ( ) + "\\PythonPath" if name : keyStr = keyStr + "\\" + name try : return win32api . RegQueryValue ( GetRootKey ( ) , keyStr ) except win32api . error , exc : import winerror if exc . winerror != winerror . ERROR_FILE_NOT_FOUND : raise return None