MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / RegConvertRootKeyType

Method RegConvertRootKeyType

source/script_registry.cpp:587–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585};
586
587HKEY Line::RegConvertRootKeyType(LPTSTR aName)
588{
589 for (int i = 0; i < _countof(sRegRootKeyTypes); ++i)
590 if (!_tcsicmp(aName, sRegRootKeyTypes[i].short_name)
591 || !_tcsicmp(aName, sRegRootKeyTypes[i].long_name))
592 return sRegRootKeyTypes[i].key;
593 return NULL;
594}
595
596LPTSTR Line::RegConvertRootKeyType(HKEY aKey)
597{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected