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