IDebugEngine2:: SetRegistryRoot

设置注册表支持调试引擎 (DE)。

HRESULT SetRegistryRoot( 
   LPCOLESTR pszRegistryRoot
);
int SetRegistryRoot( 
   string pszRegistryRoot
);

参数

  • pszRegistryRoot
    [in] 使用的注册表根。

返回值

如果成功,则返回; S_OK否则,返回错误代码。

备注

此方法允许 Visual Studio 指定 DE 应使用获取注册表设置的备用注册表根;例如, “HKEY_LOCAL_MACHINE \SOFTWARE\Microsoft\VisualStudio\8.0Exp”。

请参见

参考

IDebugEngine2