Commit Graph

680 Commits (3e237230195d66945c535de740db4207eab3f9e6)

Author SHA1 Message Date
David Hall 3e23723019 Added WindowsLoggedInIdentity to capture LogonUser typical work. Changed WindowsImpersonatedIdentity to derive from this new class. 2019-03-09 21:00:58 -07:00
David Hall 3877cc58bc Pushing point release due to some debug files getting into the NuGet packages 2019-03-08 20:09:11 -07:00
David Hall 1bdbca3d57 Updated projects for version 2.3.3 2019-03-08 12:38:52 -07:00
David Hall 429066e083 Added information about Vanara.PInvoke.PowrProf. 2019-03-08 12:08:01 -07:00
David Hall 2c48d5bd73 Added PowerManager class to Vanara.SystemService that provides access to information about a device's battery and power supply status and configuration. 2019-03-08 12:07:32 -07:00
David Hall f71612fd05 Cleaned up using statements 2019-03-07 11:43:18 -07:00
David Hall 518903ac95 Added CM_RESOURCE_LIST and supporting structures and enums 2019-03-07 10:25:33 -07:00
David Hall 1cef6c3fe4 Reorganized by subgroup settings 2019-03-07 09:43:13 -07:00
David Hall 600cb65672 Fixes and refinements on PowrProf functions 2019-03-07 09:42:35 -07:00
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