MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey-v1.0 / GetLoopRegKey

Method GetLoopRegKey

Source/script.cpp:11035–11044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11033}
11034
11035VarSizeType Script::GetLoopRegKey(char *aBuf)
11036{
11037 char str[256] = ""; // Set default.
11038 if (mLoopRegItem)
11039 // Use root_key_type, not root_key (which might be a remote vs. local HKEY):
11040 Line::RegConvertRootKey(str, sizeof(str), mLoopRegItem->root_key_type);
11041 if (aBuf)
11042 strcpy(aBuf, str);
11043 return (VarSizeType)strlen(str);
11044}
11045
11046VarSizeType Script::GetLoopRegSubKey(char *aBuf)
11047{

Callers 1

GetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected