| 11033 | } |
| 11034 | |
| 11035 | VarSizeType 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 | |
| 11046 | VarSizeType Script::GetLoopRegSubKey(char *aBuf) |
| 11047 | { |