Commit Graph

36 Commits

Author SHA1 Message Date
wj32 5699fb9fcf * fixed bad ImagehlpLine64 definition that was probably causing some crashes on 64-bit
* made SecurityDescriptor.Read even less likely to throw an exception

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2254 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-18 04:42:14 +00:00
dmex04 5ffe827f1b more hresult checking, fixed some taskbarlib api signatures not using hresult, merged duplicate Rect from taskbarlib with ProcessHacker.Native signature
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2076 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-06 23:57:28 +00:00
wj32 873f21ee8e started ProcessHandle.CreateExtended
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1938 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-25 11:05:19 +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 8c91232567 * almost completed LSA classes (still need a LsaSecretHandle class)
* due to the new LSA classes, the Run As window displays users without being UAC elevated

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1890 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-17 09:06:55 +00:00
wj32 d206ac0721 * added IPv6 network connection support
* reverted r1833 (no finalizer needed)

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1838 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-03 07:15:15 +00:00
wj32 5cc7ed279a fixed API declarations
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1837 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-03 06:43:34 +00:00
dmex04 2377e8f3cc ipv6 struts/enums
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1835 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-03 03:28:52 +00:00
wj32 73abc16546 * x64: stack walking works
* x64: WOW64 stack walking works, but no symbols
* x64: fixed dbghelp.dll auto-detection
* updated Help.htm, HACKING.txt, README.txt
* PH output now shows whether the system is 32- or 64-bit
* fixed no symbols for protected processes (System) without KPH

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1695 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-11 09:47:21 +00:00
wj32 79e13cbb7b x64: fixed memory-related functionality
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1688 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-10 09:31:34 +00:00
wj32 126388f00f x64 fixes:
* fixed performance info
* beginning to fix PEB info

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1685 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-10 08:20:07 +00:00
wj32 6ad1ea536a * eliminated all architecture dependent IntPtr.ToStrings
* deleted old API logger code

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1682 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-09 11:20:31 +00:00
wj32 7cf5dfa267 * added PrivateNamespaceHandle
* created AccessControl namespace

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1589 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-12 06:24:39 +00:00
wj32 6a73e84bda cleanup + added WindowPlacementFlags
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1573 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-10 06:55:18 +00:00
deanme 78bddfb787 added GetWindowPlacement api
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1571 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-09 09:01:11 +00:00
wj32 0889de3d26 fixed pvt. memory indicator color in the process window
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1565 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-08 08:55:04 +00:00
wj32 03b064801d * added FastMutex
* FastMutex is now used to synchronize dbghelp calls, and StackWalk64 calls are now synchronized.
* moved RundownProtection and SpinLock to ProcessHacker.Common.Threading
* some cleanup

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1422 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-15 07:29:30 +00:00
wj32 7d9bc16437 added HandleTable; renamed DisposableObject to BaseObject
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1409 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-13 00:11:54 +00:00
wj32 f29266610d added window process finder
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1388 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-07 11:54:56 +00:00
wj32 40e736cd63 * refactoring: typos, etc.
* new reference counting system for handles, memory allocations and symbol provider
* added terminal server objects (server, session, process)
* proper SID class
* moved logging into ProcessHacker.Common

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1382 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-07 06:30:47 +00:00
wj32 34cc9c183b added security descriptor code (although the security editor doesn't work yet)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1307 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-21 11:05:58 +00:00
wj32 2199520ed5 * moved native API definitions into separate files
* added remaining NT objects
* added NtStatus enum
* added Semaphore properties
* added ObjectFlags to every object
* other refactoring

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1301 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-20 07:05:02 +00:00
wj32 396e0538e4 added semaphore and timer objects
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1300 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-19 11:43:39 +00:00
wj32 e6e7d4d0d0 added handle objects for directories, events, event pairs, mutants and symbolic links!
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1299 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-19 10:52:15 +00:00
wj32 b2a8c06587 refactoring
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1283 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-15 23:33:32 +00:00
wj32 81860d7d16 fixed corrupted usernames with WTS SIDs caused by improper error handling in GetAccountName
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1242 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-07 08:47:40 +00:00
wj32 f7f00ec782 added MemoryBasicInformation64
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1240 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 11:29:34 +00:00
wj32 3d61e33017 * 64-bit no longer produces an error message
* fixed wintrust

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1238 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 09:51:28 +00:00
wj32 98c2093f16 PH now compiles again
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1236 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 05:29:56 +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 a918279767 Shows function file and line numbers where available
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1230 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-04 09:26:46 +00:00
wj32 a246b21d19 fixed incomplete or inaccurate thread call stacks
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1229 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-04 07:26:36 +00:00
wj32 7337b02291 * fixed Start hidden
* fixed GC.AddMemoryPressure and RemoveMemoryPressure bugs

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1168 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 07:37:45 +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 4dba651028 added ExpGetProcessInformation (not used yet)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1116 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-21 09:01:12 +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