Searched refs:autorun_key (Results 1 – 1 of 1) sorted by relevance
475 RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_SET_VALUE); in AddCommandToAutoRun() local476 return (autorun_key.WriteValue(name.c_str(), command.c_str()) == in AddCommandToAutoRun()481 RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_SET_VALUE); in RemoveCommandFromAutoRun() local482 return (autorun_key.DeleteValue(name.c_str()) == ERROR_SUCCESS); in RemoveCommandFromAutoRun()488 RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_QUERY_VALUE); in ReadCommandFromAutoRun() local489 return (autorun_key.ReadValue(name.c_str(), command) == ERROR_SUCCESS); in ReadCommandFromAutoRun()