Commit Graph

32 Commits

Author SHA1 Message Date
wj32 534edd4caa fixed FileHandle.Create documentation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2125 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 04:36:20 +00:00
wj32 4ea71eaced completely new PE reader implementation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2038 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-03 04:02:51 +00:00
wj32 812bf5f300 * fixed relative start time sort order
* removed GetDateTimeFromLongTime; use DateTime.FromFileTime instead
* ProcessHandle.GetCreateTime and GetExitTime both return DateTimes now

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1892 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-18 06:34:45 +00:00
wj32 0ac119cdc7 * added byte-array-based async I/O methods
* added async named pipe transceive

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1885 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-14 09:51:22 +00:00
wj32 10ecc44fd2 * numerous additions and improvements to FileHandle and NamedPipeHandle
* added parent support for MemoryRegion
* added PinnedObject

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1884 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-14 08:28:13 +00:00
wj32 8e370f1a81 improved async I/O status
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1882 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 07:05:27 +00:00
wj32 413d8a19f1 completely new IoStatusBlock implementation for faster completion testing
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1881 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 03:40:07 +00:00
wj32 47732c9e2e fixed Assistant on XP by using a proper share mode
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1880 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 03:14:25 +00:00
wj32 6395a2c540 added pipe information methods
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1878 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 02:45:30 +00:00
wj32 e646a48431 fixed I/O cancellation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1877 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 02:13:33 +00:00
wj32 caad4c36f9 added stream enumeration and more file-related NT functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1876 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 01:52:25 +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 9e9f334165 added FsControl and Flush
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1874 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 07:58:29 +00:00
wj32 1f7cfa886b * added BeginIoControl
* removed dummy pointers from IoControl

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1873 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 05:03:53 +00:00
wj32 fd082e7a9f improved async I/O
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1871 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 02:34:48 +00:00
wj32 621fee758a * switched to native I/O functions
* added some support for asynchronous I/O

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1870 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 02:08:20 +00:00
wj32 98b10c3d92 added directory-related definitions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1868 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-11 08:13:54 +00:00
wj32 005db7de7d added GetVolumeFsName to FileHandle
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1795 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-31 08:41:20 +00:00
wj32 66e7cb3044 improved several memory-related classes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1582 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-11 05:15:53 +00:00
wj32 7c39cd6846 added Dump memory menu item
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1554 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-05 09:39:35 +00:00
wj32 b1a6d7a443 reduced the number of BaseObject finalizer runs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1534 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-04 12:55:48 +00:00
wj32 b4cabe132f learned a bit more about LPC
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1511 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-03 10:14:15 +00:00
wj32 efb9d71ad1 some experiments with file handles
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1475 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-27 04:28:21 +00:00
wj32 5808bbcfc6 * added transparency hooking to NProcessHacker
* added some registry-related things to ProcessHacker.Native

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1379 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-06 09:50:14 +00:00
wj32 88e6201497 Added ability to create dump files for processes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1366 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 12:11:05 +00:00
wj32 a1869c6bdf * refactored affinity code
* fully documented ProcessHandle

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1365 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 10:50:07 +00:00
wj32 6ff1e03e15 more additions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1352 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-30 11:21:27 +00:00
wj32 28d89099c6 * added timer properties
* refactored handle code
* fixed time bugs in handle code
* added wrapper synchronization object classes

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1347 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-30 05:26:35 +00:00
wj32 bf3e7d0f95 fixed self-termination by switching to NtDeviceIoControlFile
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1312 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-22 03:16:21 +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