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 "!winerror <value>";
}
private string GetWinerrorDescription(long winerror)
public string GetWinerrorDescription(long winerror)
{
XmlElement root = winerrorXmlDocument.DocumentElement;
XmlNode node = root.SelectSingleNode(String.Format("Winerror[@value='{0}']",