Commit Graph

18 Commits (81292aca1de7e254540602c9db6c130b09597683)

Author SHA1 Message Date
dahall 67e89b5472 Fixed incorrect parameters for file mapping functions and added HSECTION and SafeHSECTION handles. 2020-05-16 15:15:33 -06:00
David Hall f649adbc24 Added IUserHandle reference to all user object handles. 2019-10-17 11:21:20 -06:00
David Hall 0d92eb39b8 Added HCOLORSPACE 2019-09-25 14:13:54 -05:00
David Hall 00d728f82e Added HTASK 2019-09-10 13:29:20 -06:00
David Hall 0dc30ffa2f Added DebuggerDisplayAttribute to all handles to show the handle value. Added implicit conversion from Process to HPROCESS. 2019-07-09 09:22:37 -06:00
David Hall f7dd0a9cf6 Added NoOptimization attribute to SafeHANDLE disposal method 2019-06-25 17:12:28 -06:00
David Hall d7eaafbb3b Added implicit converstaion from SafeFileHandle to HFILE 2019-06-22 14:18:53 -06:00
David Hall 6595d81b92 Improved Equals method on SafeHANDLE 2019-06-19 10:04:57 -06:00
David Hall 93a4982951 Changed type of INVALID_FILE_HANDLE to HFILE instead of IntPtr 2019-02-20 15:29:42 -07:00
David Hall bef4a869ba Added SafeHANDLE to HANDLE implicit operator and adjusted SafeHANDLE == operator to address `default` values (#40). 2019-02-19 14:16:44 -07:00
David Hall b51aef42d2 Introduced structure based HANDLE for better compatibility 2019-02-04 10:56:15 -07:00
David Hall f1085cd3a5 Change SafeHandle derived base class HANDLE to SafeHANDLE. Yes, bonehead move to not do this correctly from the beginning. 2019-02-04 09:51:08 -07:00
David Hall 0f1acd2276 Moved registry hive values to HKEY 2019-01-16 08:06:31 -07:00
David Hall 3da3c81694 Added INVALID_HANDLE_VALUE to HFILE 2019-01-15 12:17:37 -07:00
David Hall 8a1355b0af Updated comments 2018-11-28 12:33:55 -07:00
David Hall c5467dfb7e Another 2.0 major commit. All tests working. 2018-11-19 21:18:50 -07:00
David Hall 627c6d2314 2.0 Checkin - Buildable 2018-10-26 12:24:07 -06:00
David Hall 138accc380 MAJOR BREAKING CHANGES: Fundamentally changed how HANDLEs are represented and used. Much better type safety now that all handles derive from HANDLE and disposing instances are all noted by a SafeHxxx name. Solves problem with circular references and random IntPtr parameters. 2018-09-21 22:35:34 -06:00