Add !error command which checks NtStatus, Winerror and hResult.

svn path=/trunk/; revision=20585
This commit is contained in:
Maarten Bosma 2006-01-05 17:52:39 +00:00
parent 9edfccb5e4
commit a61ec9018b
6 changed files with 100 additions and 4 deletions

View file

@ -67,7 +67,7 @@ namespace TechBot.Library
return "!hresult <value>";
}
private string GetHresultDescription(long hresult)
public string GetHresultDescription(long hresult)
{
XmlElement root = hresultXmlDocument.DocumentElement;
XmlNode node = root.SelectSingleNode(String.Format("Hresult[@value='{0}']",