Commit Graph

59 Commits (3e237230195d66945c535de740db4207eab3f9e6)

Author SHA1 Message Date
David Hall 600cb65672 Fixes and refinements on PowrProf functions 2019-03-07 09:42: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 8c7636aff5 Added PowrProf.dll and all functions 2019-03-01 12:34:56 -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 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 b7dccd02f0 Completed work on NetApi32 2019-02-19 21:55:13 -07:00
David Hall fb885d09d9 Tests for new NetApi32 functions 2019-02-18 14:28:55 -07:00
David Hall 4ce874c5c0 Tweaked work submitted by @gigi81 to match project style, reorganize files, and update documentation. 2019-02-11 19:34:47 -07:00
David Hall 8aefdc9389 Revert "Added some missing functions, structs and enums to winsvc.cs and tests"
This reverts commit dd15c0478c.
2019-02-11 18:38:41 -07:00
David Hall ee64aca822 Merge branch 'master' of https://github.com/dahall/Vanara 2019-02-11 18:32:16 -07:00
Luigi Grilli dd15c0478c Added some missing functions, structs and enums to winsvc.cs and tests
Added QueryServiceStatusEx SERVICE_STATUS_PROCESS and more and test

Removed redundant CloseServiceHandle calls

Added Start/Stop/Delete/Control service functions

Added Start/Stop/Delete/Control service functions and appveyor for testing

Fixed version in appveyor.yml

Reducing msbuild verbosity

Improved AdvApi32 tests

Improve StartStop test method

Fixed StartService arguments types

Added ControlService, Fixed ControlServiceEx

Delete appveyor.yml
2019-02-07 00:52:59 +00:00
David Hall 39a4044be0 Added some User32 tests 2019-02-06 07:31:54 -07:00
David Hall 08f46aba31 Tried out some test methods for SHCreateShellItemArray 2019-02-01 11:38:58 -07:00
David Hall 6bd53ea1d7 Fixed reference to HKLM 2019-01-16 08:16:29 -07:00
David Hall 9b5410c766 Refactored the SendMessage functions across the projects 2018-12-17 11:44:28 -07:00
David Hall 31c8628715 Added trigger test 2018-12-07 20:59:50 -07:00
David Hall 42e70bd89c Further additions, corrections and tests for PInvoke.Cryptography 2018-12-05 12:38:06 -07:00
David Hall 0a7b5f82bf Added NCrypt to PInvoke.Cryptography 2018-12-03 18:07:06 -07:00
David Hall 1e344ff174 Renamed PInvoke.BCrypt to PInvoke.Cryptography 2018-12-03 14:37:25 -07:00
David Hall 15d7de5390 Further work on BCrypt 2018-12-03 14:16:24 -07:00
David Hall 7cd2e23aca Added BCrypt.dll library 2018-12-02 12:19:31 -07:00
David Hall e2cd46fcfa Finished adding all methods and structures from NTDSApi. All tested except those that cause changes to ADSI since I have no domain to test on. 2018-11-30 14:01:11 -07:00
David Hall dd876ef071 Updated tests to reflect changes in libs 2018-11-28 07:48:11 -07:00
David Hall d90bc7ec42 Bug fixes and cleanup for PROPVARIANT 2018-11-27 12:02:37 -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
David Hall 174f5219ec Updates to existing code with breaking changes. 2018-09-19 06:54:14 -06:00
David Hall e1ab4ee39b Minor tweaks. 2018-09-13 18:18:14 -06:00
David Hall 6602bdf12c Updated project information for 1.1.0 2018-09-10 16:56:45 -06:00
David Hall efc3f33173 Completed functions in IpHlpApi found in NetIOApi.h 2018-09-10 16:55:05 -06:00
David Hall fc3ebba322 Replaced numerous IntPtr calls to SafeSecurityDescriptor. 2018-09-04 13:43:41 -06:00
David Hall bbc22f6646 Changed calls from conversion operator to DangerousGetHandle for all GenericSafeHandle derivatives. 2018-09-04 13:42:49 -06:00
David Hall 6b1ed53536 Made conversion operator from GenericSafeHandle to IntPtr explicit to minimize unintended conversions (#12) and updated all affected functions, including fixing those affected by unintended consequences. 2018-09-04 12:04:25 -06:00
David Hall ff50e8d23d Added classes to register and interact with the registry for shell applications, ProgIDs and file associations 2018-08-29 12:59:20 -06:00
David Hall 411b857d01 Revert "Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties.""
This reverts commit a454d5055d.
2018-08-18 19:38:27 -06:00
David Hall a454d5055d Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties."
This reverts commit 733e30b868.
2018-08-18 19:33:40 -06:00
David Hall 733e30b868 BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties. 2018-08-18 19:33:00 -06:00
David Hall 19e98c45f1 Tests for shell progress dialog interfaces. 2018-07-30 16:21:34 -06:00
David Hall 70952057e0 Completed testing and corrections for WNet functions 2018-07-28 12:29:26 -06:00
David Hall 38db67b78b Updated project files for 1.0.17 release 2018-07-26 22:54:41 -06:00
David Hall 778d2883b9 Improved NetworkListManager 2018-07-21 14:14:26 -06:00
David Hall 75dd05c256 Removed unreachable code 2018-07-17 11:27:31 -06:00
David Hall c3fb6ad049 Updated to correct for COLORREF move 2018-06-28 18:02:36 -06:00
David Hall 5653a4f048 Lots of fixes and documentation on UxTheme and support VisualTheme. All functions fully tested. 2018-06-27 13:14:43 -06:00
David Hall a24cfac33c Updated to match new GetThemeStream format 2018-06-08 11:18:49 -06:00
David Hall 95b9a685d4 Simplified use cases for SendMessage across all projects. 2018-05-31 14:39:11 -06:00
David Hall 214ca4bb5f Minor fixes related to Kernel32 build 2018-05-29 17:49:10 -06:00
David Hall 4699faeeea In TaskSchd.cs, changed string values representing dates and durations to specialized class to ensure proper formatting and easier retrieval. 2018-02-07 09:34:58 -07:00
David Hall 4fc48f2082 Added enums to triggers and cleaned up code. 2018-02-06 18:17:48 -07:00