Commit Graph

359 Commits

Author SHA1 Message Date
wj32 b3990ca4a7 no, that's not how you fix it.
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2113 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-09 11:23:46 +00:00
dmex04 7559d980a8 fixed ExtraTools compile
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2112 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-09 10:52:25 +00:00
dmex04 fe253bb6a7 added commenting, also added reference URL address
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2107 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-09 05:02:22 +00:00
dmex04 6074511a7e added IsInternetAddressReachable, IsInternetConnected functions to PhUtils
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2105 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-09 03:12:43 +00:00
dmex04 be8ab499fa fixed Hresult comment, Added support for Windows RegisterForRestart and RegisterForRecovery
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2099 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-08 02:39:40 +00:00
dmex04 f218f4e8e2 added Network Diagnostics APIs and helper function
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2091 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-07 19:47:39 +00:00
wj32 1e6f5f499a added Permissions buttons, menu items for processes, services, threads, tokens
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2085 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-07 02:31:45 +00:00
wj32 d2334d330e * completed security editing component
* added security editor to HandleProperties

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2082 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-07 01:28:53 +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
dmex04 629b7cec4e added more HResult checking for supported APIs per msdn documentation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2072 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-06 16:51:13 +00:00
wj32 a7b1ca5cdb ACL editor WORKS!!!
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2071 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-06 11:22:41 +00:00
wj32 3aae60e9d6 added MemoryAlloc statistics
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2067 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-06 04:17:52 +00:00
wj32 f4549f6482 fixed reading imports of certain packed images (in particular UPX packed ones)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2058 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-05 11:12:30 +00:00
wj32 487ee66f63 * added BeepDevice
* got rid of System.Diagnostics usage in WaitChainWindow

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2056 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-05 05:03:21 +00:00
wj32 169d735312 re-enabled NPH on Windows 7
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2044 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-04 00:59:18 +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
dmex04 f3316ddcc3 XP fix: AddERExcludedApplication now gets last error if it returns false.
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2034 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-02 23:52:34 +00:00
dmex04 079ccc7a0e added IN/OUT parms to WER APIs for consistency, changed commenting to reflect the exact nature of the APIs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2033 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-02 23:49:07 +00:00
dmex04 8cf78eb7d0 fixed Vista/Win7 WER exclusion API signature, configured ProcessHacker exclusion from WER on XP/Vista/Win7
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2032 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-02 23:45:30 +00:00
wj32 8367dfb059 fixed comment
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2015 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-01 08:26:30 +00:00
wj32 ccc20389a1 KProcessHacker constructor now contacts SCM only when necessary
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2014 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-01 08:18:22 +00:00
wj32 0f0dc18a83 added some more DbgUi functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2013 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-01 08:01:37 +00:00
wj32 ac1b7ee18f fixed some struct defs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2012 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-01 07:07:24 +00:00
wj32 5fd079df21 * fixed EnvironmentBlock.GetLength
* fixed CreateExtended, CSR notification is now optional; starting simple programs works!

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2010 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-30 11:43:58 +00:00
dmex04 c2ad22b748 moved unhanded exception event to capture exceptions at earliest opportunity, added SendReport option to ErrorDialog for sending bugs to Sourceforge bug tracker, added initial WER configuration, added initial reporting configuration
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2000 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-30 02:44:44 +00:00
wj32 38132e88ea fixed entry point not found exception on Vista and below
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1992 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-29 07:56:54 +00:00
dmex04 ccb1f7b402 added licence to TaskbarLib files, re-added HResult for COM calls and added initial HResult checking
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1986 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-28 16:34:01 +00:00
wj32 648ef996fa added NT image header types
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1972 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-27 10:42:27 +00:00
wj32 c852122401 * Get/SetPriorityClass are now Win32 based again
* SeIncreaseBasePriorityPrivilege is now enabled if present

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1955 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 23:39:03 +00:00
dmex04 0c8a286952 bugfix Workaround for GetPriorityClass NtStatus returning DataTypeMisalignment on x64
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1954 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 14:03:54 +00:00
wj32 1ef7a443a3 IsBeingDebugged is now native
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1952 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 07:59:16 +00:00
wj32 d5913322ef added ThreadHandle.SetToken
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1950 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 07:24:02 +00:00
wj32 c4d99b1b05 * fixed EnvironmentBlock.GetVariable
* EnvironmentBlock.SetVariable now sets the environment pointer instead of returning one

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1943 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 01:17:48 +00:00
wj32 2408239013 fixed CsrAllocateCaptureBuffer definition
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1942 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 00:49:15 +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 3b8c01aa4d refactored FileUtils.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1937 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-25 07:24:19 +00:00
wj32 f5d8bec319 fixed process priority class display
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1936 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 10:51:36 +00:00
wj32 db9a5ce312 removed GetCurrentProcess, fixed CreateThread return value
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1935 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 09:17:25 +00:00
wj32 ca9ee76517 fixed the project file
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1933 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 02:38:35 +00:00
wj32 4890a0d74f redid the changes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1932 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 01:53:04 +00:00
wj32 35d8aeb91f reverted r1925, r1926, r1929
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1931 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 01:32:09 +00:00
dmex04 d6807bdf2a added SuppressUnmanagedCodeSecurity attribute - The stack walk performed when calling unmanaged code is omitted at run time, resulting in substantial performance savings.
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1929 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-23 20:44:50 +00:00
dmex04 dd590070d1 fixed Vista and above WindowMessages being blocked: AllowWindowMessagesThroughUIPI
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1927 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-23 16:21:27 +00:00
dmex04 59fcdb019e replaced HRESULT with Win32Error
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1926 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-23 12:26:42 +00:00
dmex04 8ef9ee8eaa added missing native enums for Thread/Process priority, fixed/updated native functions per msdn documentation... returned Thread/Process priority is now correct (compared with PE/Taskman) however PH-UI doesn't consistently show the correct values for every process
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1925 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-23 12:08:23 +00:00
wj32 db017067f8 refactored taskbar code, fixed some bugs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1912 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-22 09:04:45 +00:00
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 d2bcc484cf NT error messages are sometimes too long...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1907 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-21 07:02:22 +00:00
wj32 529dbcaeab enabled DLL injection into processes from other sessions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1903 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-20 00:14:45 +00:00
wj32 cf8f5d843c * added KeyHandle
* improved SecurityDescriptor (and related classes) reference counting
* NativeHandle now uses NtQuerySecurityObject/NtSetSecurityObject instead of GetSecurityInfo/SetSecurityInfo

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1900 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-19 01:29:27 +00:00