Commit Graph

11 Commits

Author SHA1 Message Date
wj32 f0a3520f20 refactored native error handling
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1908 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-21 07:41:12 +00:00
wj32 24b536cdc7 * improved DirectoryHandle object enumeration
* fixed FileHandle Pending operations
* NamedPipeHandle and MailslotHandle are now Native API based
* added FsControl and IoControl implementations which don't throw exceptions

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1875 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 00:10:38 +00:00
wj32 81c9935686 * Assistant now sends error codes back to Process Hacker, providing useful error messages
* added MailslotHandle

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1860 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-07 08:36:15 +00:00
wj32 898fd8b5e2 added elevation for session disconnect and logoff actions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1392 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-08 01:10:16 +00:00
wj32 9f709a1308 someone here is an idiot who doesn't know how to write p/invoke definitions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1286 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-16 09:54:41 +00:00
flavioe 2106d2a2e6 changed API definitions to use IntPtr instead of int
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1233 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-05 22:05:59 +00:00
wj32 557503df5a * added some more undocumented defs
* 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
2009-04-22 09:38:30 +00:00
wj32 c096bdfa33 major refactoring; all Native functions are now in a separate assembly
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1109 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-21 00:39:15 +00:00
wj32 946b43d7dd Better "could not initialize configuration" message for Vista
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1083 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-17 23:53:56 +00:00
wj32 15180b9956 Elevation button in Options now spawns a child options window instead of restarting Process Hacker elevated
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1066 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-15 10:42:19 +00:00
wj32 aabd8ab7ce major directory and namespace refactoring
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1064 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-15 08:20:18 +00:00