Commit Graph

1103 Commits (81292aca1de7e254540602c9db6c130b09597683)

Author SHA1 Message Date
dahall 211db05037 Removed ScriptXX functions that are actually exported into gdi32.dll 2020-03-18 10:40:01 -06:00
dahall 74b50d97ac Added missing wingdi.h and winppi.h functions 2020-03-17 21:58:30 -06:00
dahall 476960ecbf Updated project versions to 3.2.2. 2020-03-17 19:48:07 -06:00
dahall 6a00b9eb14 Finished adding methods from cryptnet.dll 2020-03-17 17:54:55 -06:00
dahall dd11a3d6c0 Finished adding methods from cryptdlg.dll 2020-03-17 17:54:36 -06:00
dahall a4be710edb Added optional parameter overloads to methods 2020-03-17 17:54:03 -06:00
dahall 0103ccd99b Updated project information for 3.2.1 2020-03-17 07:00:15 -06:00
dahall 6fd4f8c749 Added IntPtr overload for all WinCon functions currently using StringBuilder param (#107) 2020-03-16 14:19:58 -06:00
dahall a64e1c9cdd Fixed PROV_ENUMALGS and added CryptProviderName with known CSPs. 2020-03-15 19:10:57 -06:00
dahall d585fe18a3 Next round of tweaks and fixes for Crypt32 2020-03-13 15:46:10 -06:00
dahall 3e203d6b9b Added AdvApi32 methods from wincrypt.h 2020-03-13 15:45:15 -06:00
dahall 27791faac0 Added CryptUI.dll methods to lib 2020-03-13 15:44:36 -06:00
dahall 7ebcd7f00c Added and fixed XML documentation 2020-03-13 15:43:39 -06:00
dahall 9143f753a2 Exposed NTStatus.ToHRESULT method and explicit conversion operator to HRESULT 2020-03-13 15:42:32 -06:00
dahall b0791e0fd5 XML doc fixes. 2020-03-09 10:53:39 -06:00
dahall 24dc30de5a Updated project files with v3.2.1 information. 2020-03-09 10:23:37 -06:00
dahall 5c7c981393 Added all functions for crypt32.dll 2020-03-09 09:54:19 -06:00
dahall 82f474e741 Add and corrected XML documentation. 2020-03-01 18:59:39 -07:00
dahall 85405cfe38 Corrected problem with duplicate icon reference 2020-02-29 15:21:19 -07:00
dahall ed537652d2 Removed errant CustomMarshalers reference form Shell32 project. 2020-02-29 15:00:35 -07:00
dahall 19b3efd408 Updated project information and version to 3.2.0 2020-02-26 17:35:48 -07:00
dahall e2297a67a8 Documentation fix 2020-02-26 15:16:00 -07:00
dahall 4eea954b4d Added simpler version of AssocCreate. 2020-02-22 15:45:18 -07:00
dahall 15a3c2dfb5 Added IObjectArray.ToArray extension method 2020-02-22 15:44:37 -07:00
dahall a646e1b71d Added constants for messages and errors related to task bar items. 2020-02-20 13:56:16 -07:00
dahall fd97276a2c Fixed bugs in the storage and reading of integer resource identifiers. 2020-02-20 13:55:34 -07:00
dahall 3553f76034 Added missing documentation, added extension methods for IPropertyStore and formatted code. 2020-02-20 13:54:28 -07:00
dahall dfcb9e4bbd Added DMPAPER_USER to DMPAPER enum (#106) 2020-02-17 08:48:02 -07:00
dahall 474773bd75 Cleaned up unused items in project files. 2020-02-13 10:31:49 -07:00
dahall 287b04c621 Update lzexpand.h file and included in Kernel32 2020-02-13 10:28:11 -07:00
dahall e52f413597 Added paramter attributes 2020-02-12 20:35:33 -07:00
dahall 54d8478255 FIxed problems with generic SendMessage methods 2020-02-12 20:06:28 -07:00
dahall cb2a5a84cd Change COM object parameters from IntPtr to object. 2020-02-10 13:50:33 -07:00
dahall a9f8944fd5 Added constructor to MENUITEMINFO and changed dwItemData type to IntPtr. 2020-02-10 13:49:59 -07:00
dahall 54ee24eb96 Fixed compiler warnings 2020-02-09 11:27:14 -07:00
dahall df6b0cb875 Added IShellItemFilter 2020-02-08 16:50:52 -07:00
dahall adc85ad275 Added INameSpaceTreeControl and supporting interfaces. 2020-02-08 16:50:40 -07:00
dahall 8a30f5ce3c Fixed exceptions thrown by ControlPanel methods by providing HRESULT from underlying COM shell object. #105 2020-02-08 15:08:44 -07:00
dahall 9342bcd5dc Added attributes to enums and parameters 2020-02-04 08:25:26 -05:00
dahall c856d06332 Updated project files for v3.1.9 2020-01-17 08:50:25 -07:00
dahall cc7170875f Fix and test for #101 - Bug when using SafeAnysizeStruct. 2020-01-17 07:54:15 -07:00
dahall 16aa08ec14 Added functions from olectl.h 2020-01-13 14:26:26 -07:00
dahall 92acfa944e Added new functions from Win10 1903 2020-01-13 11:16:07 -07:00
dahall 1457225dd2 Updated Kernel32 with Windows 10 1903 API 2020-01-13 10:59:08 -07:00
dahall 42677e2063 Project files update for v3.1.8. 2020-01-13 09:26:39 -07:00
dahall a98f49d582 Added tests and made corrections to Opc interfaces 2020-01-12 21:11:43 -07:00
dahall 019fd00485 Finished documenation 2020-01-12 21:11:21 -07:00
dahall 8f20fbf502 Completed adding all interfaces for Opc 2020-01-11 16:18:56 -07:00
dahall 04c8783799 Completed addition of all wia_xp.h content 2020-01-10 15:22:18 -07:00
dahall ca68dcff16 Finished work on UrlMon functions. 2020-01-09 15:55:52 -07:00
dahall f05c216813 Added TYSPEC and uCLSSPEC. 2020-01-09 14:32:34 -07:00
dahall 82f0751712 More functions and interfaces for UrlMon 2020-01-09 11:24:59 -07:00
dahall f852e598b1 Added tagSECURITY_ATTRIBUTES, a struct implementation of SECURITY_ATTRIBUTES, for those few times it's needed. 2020-01-09 11:24:19 -07:00
dahall 6c0c07897a Added OLEMISC 2020-01-09 11:23:44 -07:00
dahall 25845ccc15 Updated project files for 3.1.7 2020-01-06 07:13:56 -07:00
dahall ca116d6e90 Completed adding and testing all functions for UserEnv.dll 2020-01-05 20:51:15 -07:00
dahall 34ee12d616 Updated PSID.ToString(string) docs 2020-01-05 20:50:42 -07:00
dahall aff96b0adf Fixed bug in defintion of IEnumIDList.Next and all dependent methods. (#97) 2020-01-04 15:44:00 -07:00
dahall 67046abd5a Merge branch 'master' of https://github.com/dahall/Vanara 2020-01-03 16:51:24 -07:00
dahall 6eb542ecd0 Updated project information for 3.1.7 2020-01-03 16:50:52 -07:00
dahall 6edf55346d Added support for .NET Core 3.1 2020-01-03 16:46:48 -07:00
dahall 3825a5ddad Completed documentation and cleanup of all xpsobjectmodelX.h code. 2020-01-03 15:10:02 -07:00
Jeffrey Jangli a3fb998699 Fixed memory leaks when using WindowsIdentity.GetCurrent() (#91) 2020-01-01 15:41:44 -07:00
David Hall 92227c8afd Completed testing and fixes for url.dll in Vanara.PInvoke.Shell32. 2019-12-31 12:11:41 -07:00
David Hall 73bebac442 Added missing CLSCTX_ values. 2019-12-31 12:10:39 -07:00
David Hall ba0cfb721a Added Vanara.PInvoke.UserEnv to hold user profiles functions. (#80) 2019-12-30 16:01:47 -07:00
David Hall ef322f1d42 Added functions and interfaces from url.dll to Shell32. 2019-12-30 15:32:32 -07:00
David Hall 4efd504b33 Replaced int for SystemMetric as first parameter on GetSystemMetricsForDpi (#79) 2019-12-26 17:43:56 -07:00
David Hall 6867a42fc7 More fixes and documentation for printing functions 2019-12-21 21:08:13 -07:00
David Hall 1ee34f1001 Updated all project files to version 3.1.7 2019-12-17 15:05:04 -07:00
David Hall c2c9a6e2e6 Updated project files to support SourceLink 2019-12-17 14:56:55 -07:00
David Hall 5ed5ec8412 More work on Vanara.PInvoke.Printing adding documentsource.h and documenttarget.h interfaces and all XPS Printing interfaces. 2019-12-17 14:55:56 -07:00
David Hall 2c61dd78f3 Added Vanara.PInvoke.Opc and Vanara.PInvoke.UrlMon projects with initial implementations. 2019-12-17 14:54:54 -07:00
David Hall cae5e2c81f Added XpsPrint functions and interfaces. 2019-12-14 17:17:20 -07:00
David Hall 980e48a91d Added GDI Print Api Functions to Gdi32 and WinSpool 2019-12-14 16:30:28 -07:00
David Hall eb1bf547c2 Added unit tests for newly added functions and applied needed fixes. 2019-12-13 14:28:25 -07:00
David Hall cab7d799c2 Added remaining winspool and prntvpt functions 2019-12-12 20:13:04 -07:00
David Hall 00e3e73cfd Changed all instances of PIDL[] parameters to IntPtr[] to avoid marshaling error. 2019-12-12 19:48:07 -07:00
David Hall 61d0fbb908 Updated project files for 3.1.6 release 2019-12-11 22:09:39 -07:00
David Hall 14b6140095 Finished inital release work for PInvoke.Printing 2019-12-11 11:11:22 -07:00
David Hall 945d381524 Added initial PInvoke.Printing project with winspool.h implementations 2019-12-10 06:56:36 -07:00
David Hall e3a4cd6f93 Fixed bugs in RegistryTypeExt.GetValue and added GetFromType method 2019-12-08 21:17:02 -07:00
David Hall 828cd47c12 Potentially Breaking Change: Moved DEVMODE and supporting enums out from Gdi32 class to items under the Vanara.PInvoke namespace. Moved DM_SPECVERSION to const value under DEVMODE struct. 2019-12-02 11:00:18 -07:00
David Hall d66462ca3e Moved DEVMODE structure and supporting enums to PInvoke.Shared. 2019-12-02 10:56:37 -07:00
David Hall 0edc75771c Added CharSet.Unicode attribute to CATALOG_INFO to fix marshaling problem. 2019-11-29 12:44:29 -07:00
David Hall 9494280b8f Fixed structure field order problem with WINDOWINFO (#75) 2019-11-29 08:03:11 -07:00
David Hall ebc448c30a Changed default sizing to int.MaxValue to prevent overruns. 2019-11-27 14:46:08 -07:00
David Hall 8ca39f3530 On IntPtr constructor, removed copying of memory from orig pointer and now just use unowned pointer. 2019-11-27 14:45:38 -07:00
David Hall 142d0d6a41 Added missing value to SID_ENUM_TYPE (#74) 2019-11-27 07:58:18 -07:00
David Hall 6192335362 Added missing structures related to kerberos tickets 2019-11-26 21:32:18 -07:00
David Hall a7b722c8a3 Added SafeLsaMemoryHandleBase.Size as a helper for building structures with IVanaraMarshaler 2019-11-26 21:31:07 -07:00
David Hall 8bb754f22e Updated project files to version 3.1.5 2019-11-26 08:20:16 -07:00
David Hall 54ea0cf18c Fixed bug with POLICY_AUDIT_EVENTS_INFO when using 64-bit builds. 2019-11-26 07:14:10 -07:00
David Hall 2036104502 Update project information for 3.1.4 2019-11-25 07:02:08 -07:00
David Hall 8057b34687 Fixed bugs in IPAddressBox and MAKEIPADDRESS 2019-11-24 17:07:55 -07:00
David Hall c7a8f2ce26 Added extension methods for IShellFolder 2019-11-23 20:32:48 -07:00
David Hall 37b9f50288 BREAKING CHANGE: Fixed problems with STRRET and its use in IShellFolder::GetDisplayNameOf. #73 2019-11-23 18:24:59 -07:00
David Hall 42771630ad Fixed TypeLoad error (#72) for PROPSPECunion. 2019-11-23 08:11:51 -07:00
David Hall 42c60bccaa Unchanged PIDL parameters to IntPtr 2019-11-21 16:48:48 -07:00
David Hall 463b4ecefa Changed GetFolderIds extension method to return GUIDs, like the interface method and added GetKnownFolderIds to get the equivalent KNOWNFOLDERID values.
Fixed FreeKnownFolderDefinitionFields.
2019-11-21 16:47:28 -07:00
David Hall 5658b9aad1 Added GetIKnownFolder and Name extension methods. 2019-11-21 16:34:33 -07:00
David Hall 8fa4eaf08a Added attributes and strong types to functions and interfaces from ShObjIdl.h 2019-11-20 12:53:25 -07:00
David Hall a94e60820b Reworked memory manipulation functions in InteropExtensions and IntPtrConverter to use new marshaling directives and to drive consistency of use across libs (i.e. call same method to do same work). 2019-11-19 12:52:44 -07:00
David Hall 9771eadebc Converted structures from using IVanaraMarshaler to using SafeAnysizeStructMarshaler attribute 2019-11-16 15:51:16 -07:00
David Hall 9d02afc6e1 Added SafeAnysizeStructMarshaler which is a IVanaraMarshaler implementation for SafeAnysizeStruct<T> 2019-11-16 15:50:23 -07:00
David Hall 2eab8af7eb Changed project versions to 3.1.4 2019-11-13 23:07:14 -05:00
David Hall f3716aefb7 Added generic helper functions for query and set. 2019-11-13 23:05:25 -05:00
David Hall e4959743fc Converted structures that supported IMarshalDirective to IVanaraMarshaler 2019-11-13 23:04:48 -05:00
David Hall 035f6ce631 Updated project files for v3.1.3 2019-11-08 08:29:33 -07:00
David Hall baa2785a7c Added all VARIANT functions except the specific conversions 2019-11-08 08:09:08 -07:00
David Hall 7daa0080ea More work on OleAut32 functions 2019-11-07 22:25:08 -07:00
David Hall 852cf8459b Lots of additions to OleAut32 -- most interfaces and functions from oaidl.h 2019-11-06 22:14:46 -07:00
David Hall 7f6c787af1 BREAKING CHANGE: moved interfaces and VARIANT from oaidl.h into Vanara.PInvoke.OleAut32 from Ole32 as they are actually hosted there. This required some changes to supproting code. 2019-11-06 22:13:59 -07:00
David Hall bfd863bfe6 XML Comment corrections (bad params, bad refs, bad syntax). 2019-11-05 22:52:45 -07:00
David Hall ab05da0688 Finished adding all functions from WinTrust.dll 2019-11-05 10:29:02 -07:00
David Hall 8d2ee3eb2e Added a bunch of functions from wintrust.dll 2019-11-04 23:04:47 -07:00
David Hall 2723d06061 Added TokenMandatoryPolicy enum for use by TOKEN_MANDATORY_POLICY 2019-11-04 13:54:15 -07:00
David Hall 8066f58f27 Removed unused comments 2019-11-04 12:59:36 -07:00
David Hall 74a151e35e Modified PROPSHEETHEADER to use ResourceId and ResourceIdOrHandle for fields that can be different resource types. 2019-11-04 12:59:16 -07:00
David Hall a060052f3b Added ResourceIdOrHandle<THandle> to represent a resource string, id or handle union 2019-11-04 12:58:33 -07:00
David Hall da9aa6586a Removed duplicates in Release Notes for PInvoke.Kernel32 2019-11-04 08:20:03 -07:00
David Hall 0eb05fc0b0 Updated project info for 3.1.2 release 2019-11-04 06:49:29 -07:00
David Hall f196cb9baf Improved object disposal in SafeHTOKEN.FromThread 2019-11-03 21:28:34 -07:00
David Hall 803b31f094 Added SID_AND_ATTRIBUTES.ToString 2019-11-03 21:27:51 -07:00
David Hall 6669249944 Added error handling to PSID.ToString("D") 2019-11-03 21:27:26 -07:00
David Hall 4beb2c77bc Fixed unterminated string bug in LSA_UNICODE_STRING.ToString and implicit operator. 2019-11-03 21:26:43 -07:00
David Hall 296a559eda Added SafeAnysizeStruct to help marshal stuctures with a 1-element field at the end that can be variable size. Adjusted all structs of this type to use this to marshal along with tests and supported classes.
BREAKING CHANGE: This forced the removal of PTOKEN_PRIVILEGES as that functionality is now in a shared marshaling class.
2019-11-03 16:02:54 -07:00
David Hall 31775c94f0 Fixed CallMethodWithTypedBuf to only set value on success. 2019-11-03 16:01:49 -07:00
David Hall 5b5c316b99 Added RtlCopyMemory and RtlFillMemory functions 2019-10-31 11:48:00 -06:00
David Hall f9c8100443 More ioctrl additions 2019-10-27 08:24:13 -06:00
David Hall 48608feb75 More ioctl additions 2019-10-26 10:23:04 -06:00
David Hall 9daa94452f Added remaining CSIDL_* constants and cleaned. 2019-10-25 18:57:11 -06:00
David Hall e157e1b7f0 Added all the typelib interfaces from Shell32.dll 2019-10-25 18:56:02 -06:00
David Hall 6d4dc46131 All the CSIDL* and SID_S* constants have been added. 2019-10-25 18:03:30 -06:00
David Hall e8b4ad952b Updated internal class to adhere to new IFileSystemBindData2 definition 2019-10-23 19:21:06 -06:00
David Hall 49f100a432 Made IFileSystemBindData and IFileSystemBindData2 implementations able to support implementations 2019-10-23 18:25:17 -06:00
David Hall 6bbea01b83 Fixed incorrect Guid for IShellFolderViewDual 2019-10-23 14:27:38 -06:00
David Hall 6ef7235bf3 Update project versions to 3.1.2 2019-10-23 13:44:41 -06:00
David Hall cd286d7f51 Fixed syntax 2019-10-23 13:06:06 -06:00
David Hall 457a71d750 Added FILEOP_FLAGS.FOF_NO_UI 2019-10-23 12:08:40 -06:00
David Hall 2fc34f963d Fixed marshal parameter on ICondition::GetSubConditions 2019-10-23 12:08:10 -06:00
David Hall 5be7829f55 Corrected parameters in SHCreateShellItemArray 2019-10-23 12:07:31 -06:00
David Hall b6bc1544c6 Updated attributes and some parameters in IShellWindows 2019-10-23 12:07:06 -06:00
David Hall 33765e40ee Fixed condition on IEnumFromCom where TryGet looped forever. 2019-10-23 12:06:32 -06:00
David Hall 376b4576ea Fixed bug and docs for Enumerate<T> method 2019-10-23 12:05:56 -06:00
David Hall 88a34bf970 Added IDispatch interface 2019-10-23 12:05:09 -06:00
David Hall 8ae1d17c2f Added structure sizes to help with conversion 2019-10-22 08:29:07 -06:00
David Hall 3917cd63ca Added optional parameter attributes 2019-10-22 08:28:33 -06:00
David Hall 9dbac0935c Fixed incorrect parameter type in ISearchFolderItemFactory::SetFolderTypeID 2019-10-22 08:27:58 -06:00
David Hall c0d841f06d Added IEnumUnknown generics implementation 2019-10-22 08:27:07 -06:00
David Hall 8bd79dd5ea Added a generic IEnumerator implementation 2019-10-22 08:26:16 -06:00
David Hall f09713991a Updated BITS documentation (added remarks and code examples), cleanup up code and optimized single file copy in wrapper. 2019-10-22 08:25:34 -06:00
David Hall f998fb4861 Added all codes, enums and requested (#67) structures from winioctl.h. Many structures left to finish. 2019-10-20 13:49:19 -06:00
David Hall dee8220068 Update project file information and version to 3.1.1. 2019-10-17 13:43:37 -06:00
David Hall 8812c2cec3 Corrected, extended and added docs for job and completion port functions 2019-10-17 11:29:18 -06:00
David Hall f649adbc24 Added IUserHandle reference to all user object handles. 2019-10-17 11:21:20 -06:00
David Hall b393d908a3 Added property to GROUP_AFFINITY to make it easier to get/set the list of affinitized processors. 2019-10-17 09:15:36 -06:00
David Hall 94859900b7 Added support for PROCESS_MEMORY_COUNTERS_EX in GetProcessMemoryInfo 2019-10-17 09:14:33 -06:00
David Hall 4451258143 ADDED: Support for .NET Core 3.0 in all projects!!
Updated project files to version 3.1.0, changed icon to embedded NuGet resource rather than link, consolidated dependency conditions in project files, and updated all NuGet dependencies.
2019-10-03 13:35:16 -06:00
David Hall 5d7c2a57e4 Corrected build error with FloodFill function and enum. #65 2019-10-02 08:27:31 -06:00
David Hall 93225d0676 Stubbed remaining Gdi32 functions 2019-10-01 20:27:59 -06:00
David Hall cdefc7b3dc Added RECT.Empty field 2019-10-01 17:51:05 -06:00
David Hall 03344e7e77 Added all Gdi32 functions excluding printer, ddi and script calls 2019-10-01 17:45:45 -06:00
David Hall ddbdbb011d Stubbed out missing functions 2019-09-30 20:37:04 -06:00
David Hall cd0819e08b Added headerSize to constructors' parameters from base 2019-09-30 20:36:28 -06:00
David Hall 0d92eb39b8 Added HCOLORSPACE 2019-09-25 14:13:54 -05:00
David Hall 9ecdceed2f Updated project documentation for 3.0.1 release 2019-09-20 13:24:06 -06:00
David Hall b309f90b22 Fixed DllImport error with PrivateXX funcs 2019-09-20 13:23:41 -06:00
David Hall a7af7ccbd4 Completed all unit tests and function changes for all functions in WinInet.dll 2019-09-20 13:04:38 -06:00
David Hall 8b02747d2f Fixes per #63 2019-09-19 08:10:53 -06:00
David Hall 804c4a946d Fixed compiler warnings 2019-09-18 15:33:26 -06:00
David Hall 4d434826b4 Undid last doc edit 2019-09-17 09:07:08 -06:00
David Hall 6db3256757 Added custom marshaler for arrays of string pointers 2019-09-16 07:57:52 -06:00
David Hall da3fad8c40 Moved URLZONE enum up to to Pinvoke/Shared assembly 2019-09-16 07:56:00 -06:00
David Hall 97995b9464 Added SC_* values for WM_SYSCOMMAND (#62) 2019-09-16 06:53:14 -06:00
David Hall dffada3d24 Updated project files 2019-09-10 19:36:28 -06:00
David Hall 1053fb4e05 Added remainder of propsys.dll functions, putting two in the Shell32 assembly due to dependencies. 2019-09-10 19:28:09 -06:00
David Hall ce4a6a46a4 Added remaining functions and supporting interfaces from Ole32.dll 2019-09-10 13:57:38 -06:00
David Hall 3eef0a5c88 Updated project files 2019-09-10 13:56:23 -06:00
David Hall 8488bc6ddb Added missing NCrypt.dll functions 2019-09-10 13:30:24 -06:00
David Hall f36c3fcee9 Added Obsolete tag to StandardClipboardFormat to push towards using CLIPFORMAT 2019-09-10 13:29:56 -06:00
David Hall 00d728f82e Added HTASK 2019-09-10 13:29:20 -06:00
David Hall 7bde9acc38 Fixed documentation 2019-09-10 13:28:59 -06:00
David Hall 3b2cce8893 Added CLIPFORMAT type 2019-09-10 13:28:40 -06:00
David Hall 49ccdb354b Finished adding functions from ncrypt.dll 2019-09-07 17:02:59 -06:00
David Hall bbd1ab47a5 Added ncrypt.h functions 2019-09-06 15:27:23 -06:00
David Hall 2497e39ef1 Added new functions from vertdll.dll 2019-09-06 08:17:17 -06:00
David Hall 2a06438cd4 Updated project doc 2019-09-05 21:30:41 -06:00
David Hall 10533cadb8 Corrected project docs for SearchApi project 2019-09-05 21:21:49 -06:00
David Hall 846783b115 Updated project documentation 2019-09-05 21:03:18 -06:00
David Hall 4322becff6 Added better documentation 2019-09-05 19:59:25 -06:00
David Hall c3ee660228 Completed unit tests and updates for pdh.dll 2019-09-05 15:32:41 -06:00
David Hall d56d9486e7 Updated project information to version 3.0.1, added DLL references, and updated markdown files. 2019-09-04 14:11:25 -06:00
David Hall 4012278106 Added support for Pdh functions in pdh.dll. Some unit tests completed. 2019-09-03 16:54:41 -06:00
David Hall 4cae44c14e Added explicit operator to uint 2019-09-02 17:09:39 -06:00
David Hall be728e1b29 Added extension methods that use FormatMessage to an errors descriptive text. 2019-09-02 17:09:01 -06:00
David Hall 687d01e099 Added StructHelper with methods to get pointers for field values. 2019-08-29 19:56:55 -06:00
David Hall 5581c712eb Fixed bug with implicit conversion to SafeEventHandle from SafeWaitHandle. Should have been EventWaitHandle. 2019-08-29 19:56:08 -06:00
David Hall 83560454ab Added assembly for KtmW32.dll functions and supporting unit tests 2019-08-28 15:23:56 -06:00
David Hall 1f7c469a09 Removed rogue condition in project file 2019-08-28 13:37:55 -06:00
David Hall 26c4f6df11 Updated for 3.0.0 release 2019-08-27 16:48:15 -06:00
David Hall 4bfc2c06cd Fixed unit tests after combining User32 and User32.Gdi 2019-08-27 16:40:45 -06:00
David Hall 6b8e0ccf58 Combined PInvoke.User32 and PInvoke.User32.Gdi and updated all dependencies.
Added .NET Standard 2.0 and .NET Core 2.0 and 2.1 support to all projects except Windows.Forms and Windows.Shell
2019-08-27 16:03:21 -06:00
David Hall 8d318e0312 Fixed XML doc issues 2019-08-27 14:55:55 -06:00
David Hall f9429f6dd9 Fixed XML comment problems 2019-08-27 14:45:38 -06:00
David Hall d89a9df2a5 With so many breaking changes, I decided to roll the version to 3.0.0. 2019-08-27 12:42:33 -06:00
David Hall 46b2f5aad1 Fixed PInvokeData attribute on GetCommandLIne 2019-08-27 12:26:55 -06:00
David Hall b80ce7f131 Completed unit testing and fixes for all schannel.h, secur32.h and sspi.h functions 2019-08-27 11:45:05 -06:00
David Hall 763407f6f7 Completed unit tests and changes for winsvc.h functions 2019-08-27 08:25:35 -06:00
David Hall 86ad257ff6 Added ThrowUnless and static ThrowLastErrorUnless methods 2019-08-27 08:25:12 -06:00
David Hall fa274e0d61 Completed unit tests and updates for winsafer.h functions 2019-08-26 15:08:09 -06:00
David Hall 61637818d6 Finished unit testing and corrections for winreg.h functions 2019-08-26 13:08:42 -06:00
David Hall 50a8a10a54 Cleaned and reorganized 2019-08-23 14:38:53 -06:00
David Hall 6065013993 Completed unit tests and updates for winefs.h functions. 2019-08-23 14:05:09 -06:00
David Hall 45ea5993c6 Added create/open flags to CreationOption enum 2019-08-22 13:57:51 -06:00
David Hall c532e6061f Made indexer related properties virtual 2019-08-22 13:57:03 -06:00
David Hall 196e02e1f4 Completed unit testing and fixes for wincred.h functions 2019-08-21 13:09:39 -06:00
David Hall d03c88b931 Added SafePEVENTLOGRECORD to make it easier to deal with some very C centric handling of field values. 2019-08-20 15:58:52 -06:00
David Hall 727021fea8 Added event log unit tests and fixes for winbase.h functions. 2019-08-20 10:20:45 -06:00
David Hall 2af1e65730 Completed unit tests for winbase.h along with API changes. 2019-08-19 15:08:58 -06:00
David Hall c3521b7742 MAJOR BREAKING CHANGEs:
1) Obsoleted Vanara.Extensions.InteropExtensions.StructureToPtr for a name change to MarshalToPtr for consistency.
2) Added parameter to all methods reading memory that allows developer to indicate size of allocated memory they read from.
3) Enabled the ability to read/write enum values from memory in all extension methods.
4) Added Write methods for writing to memory
2019-08-17 21:13:57 -06:00
David Hall 692524a94a Fixed NotifyServiceStatusChange code and unit test 2019-08-17 19:26:09 -06:00
David Hall ee72119e36 MAJOR BREAKING CHANGE: Moved all extension methods for System.Object to Vanara.Extensions.Reflection namespace to avoid Intellisense overloads with methods that will be rarely used. 2019-08-17 14:42:49 -06:00
David Hall 92ad7b8abe Competed unit tests and fixes for wct.h functions and structures 2019-08-15 16:32:57 -07:00
David Hall 38ab24c904 Completed unit tests and updates to SID functions in SecurityBaseApi.h 2019-08-15 15:36:12 -07:00
David Hall 871ad3b8ce Whew! Lots of work and significant changes coming from completing unit testing and corresponding fixes and additions for SecurityBaseApi.h and WinNT.h. 2019-08-15 10:08:41 -07:00
David Hall 18b02b1c77 Added DebuggerDisplay attribute and property. Added factory method to create known capability SID. Added PSID extension methods to mimic some found in SafePSID. 2019-08-15 00:20:08 -07:00
David Hall fd5fb45297 Added improved parameter attributes 2019-08-15 00:18:11 -07:00
David Hall 9b433ba34c Fixed bug in handling of Guid field 2019-08-15 00:16:47 -07:00
David Hall cba9506edc Completed unit testings and updates for sddl.h functions and wrappers 2019-08-12 09:57:07 -06:00
David Hall 0c798f899f Completed unit testing and fixes for SafePSID and SafePSIDArray 2019-08-12 09:04:53 -06:00
David Hall 0626a21e17 Complete unit tests and changes for perflib.h 2019-08-11 15:28:41 -06:00
David Hall 29c8cc70a2 Cleaned up comments and enum types 2019-08-10 14:11:50 -06:00
David Hall 7a0acde552 Finished unit testing and updates for ntsecapi.h audit functions 2019-08-10 13:51:36 -06:00
David Hall 0c73576e40 Collapsed SafeLocalPSID into SafePSID. Enhanced SafePSIDArray.
Finished unit testing and changes for Lsa** functions.
2019-08-09 14:18:18 -06:00
David Hall 198a3fafd5 Completed unit testing and fixes for trace event functions. 2019-08-08 14:46:52 -06:00
David Hall 0ab573c245 Completed unit tests and updates for evntprov.h 2019-08-04 16:58:42 -06:00
David Hall ed3e865dac Fixed XML docs 2019-08-04 16:57:16 -06:00
David Hall 328bedcf1e Fixed bug #61 where TaskDiaglog.ShowDialog would crash on 64-bit builds when no properties were set. 2019-08-02 16:33:32 -06:00
David Hall c09b2ec246 Completed unit testing and fixes for aclapi.h functions 2019-08-02 13:42:47 -06:00
David Hall 2354a0f2e3 Finished unit tests and fixes for wow64apiset.h and wtsapi32.h 2019-08-01 19:28:21 -06:00
David Hall 968dbbd2fb Completed unit tests and updates to winnt.h functions and enums 2019-08-01 18:45:44 -06:00
David Hall ec7450eb99 Completed unit tests and fixes for winnls.h functions 2019-08-01 16:29:31 -06:00
David Hall bbe5f6002c Simplified GetEnvironmentStrings 2019-07-31 20:36:02 -06:00
David Hall 620d9dde7f Reorganized SetEnvironmentStrings methods 2019-07-31 20:18:20 -06:00
David Hall 1fe23556ac For null terminated string arrays, used custom marshaler to simplify input parameters. 2019-07-31 20:03:19 -06:00
David Hall 99db4ab7eb Updated completed unit tests for wincon.h and winbase.h console functions 2019-07-30 10:29:40 -06:00
David Hall 74e52ff4df Tested as much of the UMS functions as possible and corrected/updated them as needed. 2019-07-27 19:58:22 -06:00
David Hall ae0251ded9 Changed structure input parameter to CreateFromStructure to 'in' for memory classes 2019-07-27 13:05:10 -06:00
David Hall 683280a945 Updated constructors of all SafeAllocatedMemory derivatives to use SizeT instead of int for the size parameter. 2019-07-27 12:48:33 -06:00