Commit Graph

671 Commits (8af31084e13fe35b967cd3caeaee25f614556515)

Author SHA1 Message Date
David Hall 8af31084e1 Added Suspend and Hibernate functions 2019-03-07 09:41:06 -07:00
David Hall 1b42ce1df2 Added CorrespondingType attributes and GetValue extension method for REG_VALUE_TYPE 2019-03-07 09:28:20 -07:00
David Hall 708d2fc39d Removed IErrorProvider constraint 2019-03-07 09:27:35 -07:00
David Hall a7cf16cde9 Major overhaul of FormatMessage import functions and helper functions. Minor breaking changes, but worth it! 2019-03-07 09:26:49 -07:00
David Hall 38b45d9192 Added methods to simplify safely converting from a pointer to a type. Handles blittable and serializable types. 2019-03-07 09:25:12 -07:00
David Hall 9612664387 Fixed Write methods to better handle string types 2019-03-07 09:22:40 -07:00
David Hall 0ede8d5738 Added MarshalObjectsToPtr method to handle object arrays. Cleaned up MarshalToPtr for string enums. 2019-03-07 09:22:04 -07:00
David Hall 0ff4e8c937 Made Items property virtual 2019-03-07 09:20:49 -07:00
David Hall dfd7f9a4a2 Derived all error structures from IErrorProvider 2019-03-02 11:09:00 -07:00
David Hall 8c7636aff5 Added PowrProf.dll and all functions 2019-03-01 12:34:56 -07:00
David Hall 00b8227a10 Updated project versions to 2.3.2 2019-02-27 16:53:42 -07:00
David Hall 974475e148 Updated with complete User32 status 2019-02-27 16:34:39 -07:00
David Hall 515fc01852 Completed work on adding all WinUser.h functions 2019-02-27 16:32:18 -07:00
David Hall c43e435401 Added check to see if shutdown messages are disabled 2019-02-27 16:31:50 -07:00
David Hall 785a86e430 Addressed #42 by adding a parameter to the constructor that will attempt to respond to the WM_QUERYENDSESSION and block the shutdown. 2019-02-26 08:25:34 -07:00
David Hall 89d95791b2 Added High DPI functions from WinUser.h 2019-02-25 14:36:07 -07:00
David Hall 660b895787 Added Pointer Input Messages and Notifications from WinUser.h 2019-02-25 14:08:14 -07:00
David Hall 4e54effcd7 Added input functions from WinUser.h 2019-02-25 12:06:41 -07:00
David Hall ec8fec7902 Updated project files to 2.3.1 2019-02-24 18:54:29 -07:00
David Hall c45e2ddc4c Added DisplayConfigXX functions with all supporting structures and enumerations along with extended methods to simplify coding 2019-02-24 18:41:17 -07:00
David Hall 8b02aed5c5 Added device broadcast message supporting functions and structures 2019-02-24 18:39:30 -07:00
David Hall 8a588b9fc9 Added DefXXXProc functions 2019-02-24 18:38:45 -07:00
David Hall daf01c0de1 Added CopyXX methods for bitmaps, icons and cursors 2019-02-24 18:37:29 -07:00
David Hall 838f7fca10 Added method to lookup enum value from corresponding type. 2019-02-24 18:36:37 -07:00
David Hall eba27e984c Prepped projects for release 2019-02-22 16:11:12 -07:00
David Hall 8dc4e9562b Added initial Computer class with support for shares (more to come!). 2019-02-22 16:10:51 -07:00
David Hall b1e35497d2 Added state flags for offline file caching 2019-02-22 14:29:15 -07:00
David Hall 13e31c7430 Improved documentation and usability 2019-02-22 14:27:45 -07:00
David Hall 3af1a60bec Fixed error with WNetCloseEnum when called from SafeWNetEnumHandle, removed redundant WNetOpenEnum function, added wrapper for WNetOpen/Enum/Close called WNetEnumResources. 2019-02-22 09:51:31 -07:00
David Hall f711902dc7 Added extension methods for security descriptors 2019-02-21 15:32:40 -07:00
David Hall 93d6a35e12 Added undocumented structures and enum for access. 2019-02-21 15:32:08 -07: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 20ad66606d Added code to handle singleton binding of device handles. Risk is if system reuses handle during process execution. 2019-02-20 15:29:06 -07:00
David Hall 91ad5730b6 Update project versions to 2.3.0 2019-02-20 11:08:59 -07:00
David Hall b5774816ad Attempt to fix #41 2019-02-20 11:02:06 -07:00
David Hall f3d5187ef5 Added some winsock2 functions 2019-02-20 10:50:17 -07:00
David Hall db5edfa2aa Formatting changes 2019-02-20 07:40:06 -07:00
David Hall 672b03c11f Formatting fixes 2019-02-20 07:29:39 -07:00
David Hall b7dccd02f0 Completed work on NetApi32 2019-02-19 21:55:13 -07:00
David Hall 0c82199f52 Updated dependent NuGet packages 2019-02-19 18:24:30 -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 9dd72ff6b2 Updated links and stats 2019-02-19 14:04:41 -07:00
David Hall 8e492cf04c Added more NetApi32 functions (AT and DFS) 2019-02-19 12:44:36 -07:00
David Hall f59699c64c Futher work on ControlPanel class 2019-02-18 14:30:35 -07:00
David Hall fb885d09d9 Tests for new NetApi32 functions 2019-02-18 14:28:55 -07:00
David Hall 8a8b265834 ToString methods added to LsaForest structures 2019-02-18 14:28:34 -07:00
David Hall af83c80249 Lots of NetApi32 additions 2019-02-18 14:27:57 -07:00
David Hall 20adde08ae Added LsaForestTrustInformation.FromBuffer static method to create a new instance from a pointer. 2019-02-16 18:17:18 -07:00
David Hall 6e8a3adabc Added support for testing platform validity against PInvoke.MinClient attribute. 2019-02-16 17:41:14 -07:00
David Hall e99a0eff51 Major rework of LSA_FOREST_TRUST_INFORMATION by supplying a helper class (LsaForestTrustInformation) that makes the creation of it very .NET happy. Simply fill out the class with entries you need and then call DangerousGetLSA_FOREST_TRUST_INFORMATION() to build the structure. Also improved comments as I found more detail. 2019-02-16 17:40:12 -07:00