wj32
f9374b53b9
fixed Get/SetContext alignment issues
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2130 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 07:47:16 +00:00
wj32
1c316a0b91
new memory alignment method
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2129 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 07:23:19 +00:00
wj32
f6d679d5d0
fixed EnvironmentBlock.GetVariable
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2128 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 06:38:23 +00:00
wj32
3b650adbdb
fixed EnvironmentBlock.GetCurrentVariable
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2127 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 06:35:09 +00:00
wj32
4ed4017ed7
* added NtCurrentTeb(), Teb, etc.
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2126 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 06:31:16 +00:00
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
5fadbda268
* more documentation
...
* put reference GetSecurity implementation in SecurityDescriptor
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2124 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 04:27:42 +00:00
wj32
eb73a9d725
* renamed GetNativeImageFileName to GetImageFileName, GetImageFileName to GetImageFileNameWin32
...
* GetImageFileNameWin32 doesn't use QueryFullProcessImageName
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2123 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 02:52:50 +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
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
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
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
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
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
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
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
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
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
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
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
7fff6bc525
* added mutant owner information
...
* viewing System properties no longer prompts for elevation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1865 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-11 07:16:47 +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
d19ed4588c
reduced usage of StringBuilder to reduce heap allocations
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1853 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-05 09:48:12 +00:00
wj32
25790c5226
fixed compiler warnings
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1850 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-05 06:06:44 +00:00