Lines Matching defs:pszKeyBase
274 * @param pszKeyBase The base key.
277 static HRESULT NewUniqueKey(ComPtr<IMachine> pMachine, const char *pszKeyBase, Utf8Str &rKey)
279 Bstr KeyBase(pszKeyBase);
318 RTMsgError("Cannot find unique key for '%s'!", pszKeyBase);
332 * @param pszKeyBase The base key.
335 static HRESULT RemoveKey(ComPtr<IMachine> pMachine, const char *pszKeyBase, const char *pszKey)
338 HRESULT hrc = pMachine->GetExtraData(Bstr(pszKeyBase), Keys.asOutParam());
374 hrc = pMachine->SetExtraData(Bstr(pszKeyBase), Bstr(psz));
382 pszKey, pszKeyBase, rc);
394 * @param pszKeyBase The key base.
399 static HRESULT SetString(ComPtr<IMachine> pMachine, const char *pszKeyBase, const char *pszKey, const char *pszAttribute, const char *pszValue)
401 HRESULT hrc = pMachine->SetExtraData(BstrFmt("%s/%s/%s", pszKeyBase,
406 pszKeyBase, pszKey, pszAttribute, pszValue, hrc);
416 * @param pszKeyBase The key base.
421 static HRESULT SetUInt64(ComPtr<IMachine> pMachine, const char *pszKeyBase, const char *pszKey, const char *pszAttribute, uint64_t u64Value)
425 return SetString(pMachine, pszKeyBase, pszKey, pszAttribute, szValue);
434 * @param pszKeyBase The key base.
439 static HRESULT SetInt64(ComPtr<IMachine> pMachine, const char *pszKeyBase, const char *pszKey, const char *pszAttribute, int64_t i64Value)
443 return SetString(pMachine, pszKeyBase, pszKey, pszAttribute, szValue);