Commit Graph

275 Commits (81292aca1de7e254540602c9db6c130b09597683)

Author SHA1 Message Date
dahall 1c217e668e Updated project files to 3.2.3 2020-03-31 18:51:44 -06:00
dahall d1a938dffe Added PInvoke libs for wlanapi.dll and wcmapi.dll. 2020-03-31 16:04:41 -06:00
dahall 2e9935667a Removed generic constraint so classes could be processed and changed ctor param from int to SizeT for consistency with base class. 2020-03-31 16:01:47 -06:00
dahall 476960ecbf Updated project versions to 3.2.2. 2020-03-17 19:48:07 -06:00
dahall 9143f753a2 Exposed NTStatus.ToHRESULT method and explicit conversion operator to HRESULT 2020-03-13 15:42:32 -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 19b3efd408 Updated project information and version to 3.2.0 2020-02-26 17:35:48 -07:00
dahall fd97276a2c Fixed bugs in the storage and reading of integer resource identifiers. 2020-02-20 13:55:34 -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 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 42677e2063 Project files update for v3.1.8. 2020-01-13 09:26:39 -07:00
dahall 019fd00485 Finished documenation 2020-01-12 21:11:21 -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 6edf55346d Added support for .NET Core 3.1 2020-01-03 16:46:48 -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 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 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 61d0fbb908 Updated project files for 3.1.6 release 2019-12-11 22:09:39 -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 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 8bb754f22e Updated project files to version 3.1.5 2019-11-26 08:20:16 -07:00
David Hall 2036104502 Update project information for 3.1.4 2019-11-25 07:02:08 -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 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 a060052f3b Added ResourceIdOrHandle<THandle> to represent a resource string, id or handle union 2019-11-04 12:58:33 -07:00
David Hall 0eb05fc0b0 Updated project info for 3.1.2 release 2019-11-04 06:49:29 -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 6ef7235bf3 Update project versions to 3.1.2 2019-10-23 13:44:41 -06:00
David Hall 33765e40ee Fixed condition on IEnumFromCom where TryGet looped forever. 2019-10-23 12:06:32 -06:00
David Hall 8bd79dd5ea Added a generic IEnumerator implementation 2019-10-22 08:26:16 -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 f649adbc24 Added IUserHandle reference to all user object handles. 2019-10-17 11:21:20 -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 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 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 a7af7ccbd4 Completed all unit tests and function changes for all functions in WinInet.dll 2019-09-20 13:04:38 -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 3eef0a5c88 Updated project files 2019-09-10 13:56:23 -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 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 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 687d01e099 Added StructHelper with methods to get pointers for field values. 2019-08-29 19:56:55 -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 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 86ad257ff6 Added ThrowUnless and static ThrowLastErrorUnless methods 2019-08-27 08:25:12 -06:00
David Hall c532e6061f Made indexer related properties virtual 2019-08-22 13:57:03 -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 9b433ba34c Fixed bug in handling of Guid field 2019-08-15 00:16:47 -07:00
David Hall ed3e865dac Fixed XML docs 2019-08-04 16:57:16 -06:00
David Hall 9b42ed675c Moved SizeT into Vanara.Core 2019-07-25 18:51:11 -06:00
David Hall f0be543188 Added support for Wer.dll as new project Vanara.PInvoke.Wer.dll 2019-07-20 18:27:54 -06:00
David Hall 6126ec8d4c Fixed bugs with constructor not allowing 0 for year and TIcks property not handling default values. 2019-07-19 15:22:26 -06:00
David Hall e4cd771c40 Added constants from sdkddkver.h 2019-07-17 20:37:06 -06:00
David Hall 026367d15a Added SerializableAttribute 2019-07-16 21:08:57 -06:00
David Hall c2b9622085 Added extra char to CallMethodWithStrBuf in cases where string length doesn't include NULL terminator. 2019-07-16 21:08:31 -06:00
David Hall 5fed9eda66 Updated GetAppContainerNamedObjectPath with better params, docs, unit test and error 2019-07-11 15:13:00 -06:00
David Hall 0d50ee7fc6 Added some missing values 2019-07-10 15:32:17 -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 ffed6e252a Added constructor to allow for ReadOnly use. 2019-07-03 14:45:15 -06:00
David Hall 6cd364624e Added support for IComparable 2019-06-25 17:12:56 -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 36c5b82f91 Updated and fixed file functions in Kernel32. Changed WIN32_FIND_DATA back to a structure and corrected IShellLinkW reference. Added EnumFilesEx and EnumVolumes to simplify related functions. Fixed search handles so they dispose without error. Changed GetFullPathName, GetLongPathName and GetShortPathName to exclusively use the Unicode instance to avoid filename length restrictions. 2019-06-16 15:07:59 -06:00
David Hall 1a444b4fbc Added many more errors 2019-06-15 13:50:40 -06:00
David Hall 7b712e2215 Added SetupOverlappedFunction that uses a FileStream and doesn't try to rebind to the handle 2019-06-09 10:01:19 -06:00
David Hall 322ac346df Fixed bug in contructor not storing Guid 2019-06-09 10:00:49 -06:00
David Hall 2c1b24e3e1 Fixed bug in Insert 2019-06-09 10:00:16 -06:00
David Hall 422ab0a7dd Updated project files for 2.8.11 release 2019-06-07 20:42:41 -06:00
David Hall de311c6bf1 Added WinTrust.dll assembly and project. 2019-06-07 19:04:21 -06:00
David Hall f59831bc2c Updated project files for 2.3.10 2019-06-04 12:18:56 -06:00
David Hall 61a8280071 Added LCID wrapper 2019-06-04 12:17:03 -06:00
David Hall 0b83c0a914 Updated projects for version 2.3.9 2019-05-25 19:47:54 -06:00
David Hall a127151135 Added IEnumFromCom to specialize IEnumFromNext for COM enum interfaces 2019-05-24 14:39:49 -06:00
David Hall 06b70ca748 Solution changes to support new Accessibility project 2019-05-23 11:09:43 -04:00
David Hall da3d9d27b9 Updated project information for 2.3.8 2019-05-13 14:55:44 -06:00