Commit Graph

335 Commits

Author SHA1 Message Date
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
wj32 fc9461df67 implemented VirtualMemoryAlloc.Free - forgot to implement it a while ago
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1899 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-18 22:42:00 +00:00
wj32 4abb473f0b username and privilege lookups are now done through the internal LSA API
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1894 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-18 07:43:43 +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 1ed5dab576 added GetLogonSessions and GetLogonSession
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1891 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-18 03:44:16 +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 6d6e84f7fc added all LSA access masks; preparing for LSA API
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1888 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-15 09:39:45 +00:00
wj32 387df6bacd * added constructors for NamedPipeHandle and MailslotHandle
* added mount point manager code
* added RTL bitmap wrapper

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1887 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-15 08:18:08 +00:00
wj32 4bb10c4ca7 * fixed compile error
* removed some bad cast operators on MemoryRegion

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1886 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-14 09:57:14 +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 cbdc50102f * fixed up several SecurityDescriptor properties and methods
* added user security object definitions

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1869 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-11 09:43:30 +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 2d8ce52425 fixed Owned property (actually fixed this time)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1867 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-11 07:36:04 +00:00