private void SetHomeDirectory(DbgHelp.DirectoryType kind, string newHome) { lock (Globals.DebugHelpLock) { if (IntPtr.Zero == Natives.DbgHelp.SymSetHomeDirectory(kind, newHome)) { throw new SymbolHandlingException(); } } }
private string GetHomeDirectory(DbgHelp.DirectoryType kind) { return(GetStringProperty(delegate(IntPtr at, int bufferLength) { return (IntPtr.Zero != DbgHelp.SymGetHomeDirectory(kind, at, bufferLength)); })); }