* fixed error detection with Native API calls - ThrowLastError() would call Marshal.GetLastWin32Error() which doesn't even apply to Native API calls and would return without throwing an exception, causing random crashes!
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1119 21ef857c-d57f-4fe0-8362-d861dc6d29cd
* addded LSAHandle, LSAPolicyHandle
* addded ServiceBaseHandle, ServiceManagerHandle
* revised all Win32 code to use MemoryAlloc class
* revised Win32 function imports to be more natural when used (ref -> out, int -> bool)
* moved session ID display from Process tab on HackerWindow.cs to TokenWindow.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@332 21ef857c-d57f-4fe0-8362-d861dc6d29cd
* Added highlighting for debugged processes
* Added viewing/setting of process affinity
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@242 21ef857c-d57f-4fe0-8362-d861dc6d29cd