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
David Hall
e8f1611fb8
Added Schannel and SspiCli references
2019-05-09 15:57:00 -06:00
David Hall
8d211da1de
Fixed bugs on Insert and array set methods
2019-05-09 15:56:31 -06:00
David Hall
f5ad3f0755
Extracted SafeNativeArrayBase from SafeNativeArray that allows for a different memory manager to be used and enhances/fixes the ability to insert a header before the array.
2019-05-08 09:30:06 -06:00
David Hall
56f517d6e9
Updated project information for 2.3.8
2019-04-30 08:00:06 -06:00
David Hall
58f0175592
Converted ACCESS_MASK from an enum to a struct so that it can be used universally to signify an access mask.
2019-04-29 11:29:50 -06:00
David Hall
0cc1d914d0
Updated project files for 2.3.7 release
2019-04-24 08:48:29 -06:00
David Hall
25502eb898
Work to harden and extend functionality of CallMethodWithTypedBuf
2019-04-24 08:28:58 -06:00
David Hall
348fc7b7f7
Added class to handle linked list of native structures in memory
2019-04-24 08:28:18 -06:00
David Hall
0383068abe
Added documentation and protected constructor to allocate just raw memory
2019-04-24 08:27:31 -06:00
David Hall
8770bc4bae
Updated documentation, added mem-zeroing on array set
2019-04-24 08:26:50 -06:00
David Hall
2fff530939
Added static FromException method
2019-04-24 08:25:33 -06:00
David Hall
dbdcdd2107
Added default size getter and shortened version to CallMethodWithTypedBuf
2019-04-18 20:38:45 -06:00
David Hall
26f843a69c
Updated project data
2019-04-17 12:51:25 -06:00
David Hall
3a56122887
Updated documentation
2019-04-17 12:51:11 -06:00
David Hall
5597d959c2
Updated documentation
2019-04-17 12:25:05 -06:00
David Hall
c92d5228ef
Major repairs of WinCon functions and structures. Some breaking changes, but only to fix problems.
2019-04-17 11:43:19 -06:00
David Hall
5be3e15570
Update project versions to 2.3.6
2019-04-15 13:45:35 -06:00
David Hall
f0ce103165
Updated project file information
2019-04-09 15:20:49 -06:00
David Hall
73792290f6
Broke down and finally used an unsafe struct for this.
2019-04-08 19:44:08 -06:00
David Hall
72a2ceb50c
Updated project versions to 2.3.5
2019-03-12 08:05:49 -06:00
David Hall
3d60a65f8d
Added full support for cabinet.dll
2019-03-12 08:02:51 -06: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
518903ac95
Added CM_RESOURCE_LIST and supporting structures and enums
2019-03-07 10:25:33 -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
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
ec8fec7902
Updated project files to 2.3.1
2019-02-24 18:54:29 -07:00
David Hall
eba27e984c
Prepped projects for release
2019-02-22 16:11:12 -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
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
6e8a3adabc
Added support for testing platform validity against PInvoke.MinClient attribute.
2019-02-16 17:41:14 -07:00
David Hall
05887bfac4
Updated project files for release
2019-02-11 19:38:05 -07:00
David Hall
7e183c2b6c
Updated project files to 2.2.1
2019-02-05 14:25:27 -07:00
David Hall
b51aef42d2
Introduced structure based HANDLE for better compatibility
2019-02-04 10:56:15 -07:00
David Hall
f1085cd3a5
Change SafeHandle derived base class HANDLE to SafeHANDLE. Yes, bonehead move to not do this correctly from the beginning.
2019-02-04 09:51:08 -07:00
David Hall
8f1e78e0f3
Updated project versions to 2.2.0 as there have been lots of changes, some of which are breaking.
2019-01-21 08:42:39 -08:00
David Hall
120217f963
Didn't need one of the explicit operators afterall
2019-01-17 22:56:04 -08:00
David Hall
7b67a1265d
Added explicit conversions from bool and Win32Error
2019-01-17 20:52:41 -08:00
David Hall
fd06ac5e0a
Moved REG_VALUE_TYPE enum from AdvApi32 to Shared
2019-01-16 08:07:46 -07:00
David Hall
0f1acd2276
Moved registry hive values to HKEY
2019-01-16 08:06:31 -07:00
David Hall
3da3c81694
Added INVALID_HANDLE_VALUE to HFILE
2019-01-15 12:17:37 -07:00
David Hall
8fa7d0aafa
Changed project versions to 2.1.3
2019-01-14 14:46:49 -07:00
David Hall
1e16ceed27
Updated copyright and PackageTags formatting in project files
2019-01-07 15:00:20 -07:00
David Hall
b35d873906
Changed project versions to 2.1.2
2019-01-02 20:30:36 -07:00
David Hall
4356d92c71
Changed project versions to 2.1.1.
2018-12-17 11:45:32 -07:00
David Hall
eb902e4595
Fixed build errors and warnings due to XML comments and obsolete license reference in project files.
2018-12-15 13:44:33 -07:00
David Hall
94b8fe0ffe
Improved project file references
2018-12-15 09:01:43 -07:00
David Hall
53df4ac64a
Modified projects to support .NET Core 2.0 and 2.1
2018-12-14 15:10:31 -07:00
David Hall
8d0813cd51
Changed netstandard20 to netstandard2.0 in all project files to comply with updated MS preferences
2018-12-14 13:07:18 -07:00
David Hall
c6451bf9b3
Updated version to 2.1.0 to indicated addition of Theraot.Core as a dependency.
2018-12-11 11:34:44 -07:00
David Hall
33b358033d
Updated project information to version 2.0.1 and signed all assemblies.
2018-12-07 13:53:39 -07:00
David Hall
5503912e5c
More work on NCrypt and added TokenBinding
2018-12-04 10:12:24 -07:00
David Hall
0a7b5f82bf
Added NCrypt to PInvoke.Cryptography
2018-12-03 18:07:06 -07:00
David Hall
7cd2e23aca
Added BCrypt.dll library
2018-12-02 12:19:31 -07:00
David Hall
fed13f093c
Updated project files for 2.0.1
2018-11-30 14:34:07 -07:00
David Hall
8a1355b0af
Updated comments
2018-11-28 12:33:55 -07:00
David Hall
d434ec4527
Updated project files for 2.0 release
2018-11-28 08:53:23 -07:00
David Hall
9112d0b634
Fixed bug with Equals method
2018-11-28 07:46:19 -07:00
David Hall
de61f90621
Fixed problems with TypeConverter
2018-11-27 12:05:17 -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
bfd2730324
Changed project builds to use latest C# minor version
2018-09-27 09:46:40 -05:00
David Hall
07b35daee3
Updated projects to version 2.0.0
2018-09-21 23:28:01 -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
46d20def8b
Updated project files with updated stats
2018-09-19 06:54:43 -06:00
David Hall
dcfb8cfc4f
Added GetHashCode, ToString and implemented IEquatable<T>, IComparable<T>, and IConvertible for SizeT
2018-09-10 15:51:11 -06:00
David Hall
fe45d80854
Due to significant breaking changes related to the removal of conversion operators from GenericSafeHandle to IntPtr, changed version to 1.1.0.
2018-09-04 13:47:00 -06:00
David Hall
5301e3420f
Added POINTS structure (Point with short coordinates)
2018-08-24 10:51:09 -06:00
David Hall
0f476165ca
Updated all versions to 1.0.19
2018-08-18 21:37:35 -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
1ee6873cc7
Updated documentation
2018-08-14 11:02:20 -06:00
David Hall
f844f6a8f2
Updated projects for 1.0.18 release
2018-08-10 11:54:21 -06:00
David Hall
efd86528a1
Completed work on MPR.dll
2018-07-26 22:32:03 -06:00
David Hall
6c77595ea2
Updated correlation reports and project files after fixing analysis tool
2018-07-07 21:35:28 -06:00
David Hall
a69e19ebc6
Updated project files and information to 1.0.16
2018-07-02 16:22:56 -06:00
David Hall
fe7e89fba8
Moved COLORREF from Gdi32 to Shared
2018-06-28 18:01:46 -06:00
David Hall
c85b8d8fc4
Version 1.0.15 project file updates
2018-06-27 13:25:04 -06:00
David Hall
4fc0dee906
Moved LOGFONT from Gdi32 to reduce references
2018-06-27 13:04:59 -06:00
David Hall
0b182d72a6
Added PInvoke info
2018-06-16 19:46:47 -06:00
David Hall
d4d804e7a3
Updated project files for 1.0.14
2018-06-08 12:00:08 -06:00
David Hall
a406749d98
Updated for build 1.0.13
2018-06-06 12:05:52 -06:00
David Hall
8df9eba7bb
Updated project files with new versions and comments
2018-05-30 12:32:03 -06:00
David Hall
7bd7cae7d8
Added kernelbase refernce
2018-05-29 17:46:52 -06:00
David Hall
adf84f144e
Added SizeT structure to mimic SIZE_T and updated library strings
2018-05-13 21:39:36 -06:00
David Hall
2cfce3c7d3
Updated versions to 1.0.12 and corresponding release notes
2018-04-05 14:54:36 -06:00
David Hall
09dd4c1e70
Update report files and release notes
2018-04-04 09:27:40 -06:00
David Hall
0d8b96fe9b
Corrected XML documentation errors
2018-04-03 18:35:18 -06:00
David Hall
6551700381
Updated versions to 1.0.11 and corresponding release notes
2018-04-03 17:58:52 -06:00
David Hall
b83f78ce2a
Added file operation errors
2018-04-03 13:18:36 -06:00
David Hall
84b7a3bada
Updated to version 1.0.10
2018-03-26 19:19:38 -06:00
David Hall
30554d4c67
Updated builds and reports with updated constucts
2018-03-26 16:56:47 -06:00
David Hall
cd9e856f77
Changed version to 1.0.9
2018-03-26 15:06:12 -06:00
David Hall
dbf2e68121
Updated projects to version 1.0.8
2018-02-07 09:44:01 -07:00
David Hall
1ddaa1cf77
Added Crypt32.dll reference
2018-01-29 07:51:39 -07:00
David Hall
c5885b4c17
Updated projects for 1.0.7 build.
2018-01-27 15:07:38 -07:00
David Hall
b21434bd53
Fixed error handling bug in AssociateAttribute.GetGuidFromEnum
2018-01-20 18:01:53 -07:00
David Hall
50d7fb69d8
Added MSG struct
2018-01-20 18:01:01 -07:00
David Hall
e6910dc9a9
Fixed bug with CoTaskMemStringMarshaler being used for return values and is never called. Added marshaler to places where appropriate.
2018-01-15 09:41:05 -07:00
David Hall
e617c912a3
Added GetCustomAttributes extension method and converted existing uses.
2018-01-12 11:41:42 -07:00
David Hall
aee3e99e87
Added AssociateAttribute to tie a Guid to an element
2018-01-11 08:58:26 -07:00
David Hall
9f2d1c1c60
Added SafeElementArray class to Core to handle BLOB types
2018-01-06 16:37:05 -07:00
David Hall
9b7e3ef765
Rolled project versions to 1.0.6
2017-12-29 13:54:58 -07:00
David Hall
b9a8ac50d0
Added stub project for IpHlpApi.dll
2017-12-24 10:34:16 -07:00
David Hall
ea0dd3fd16
Changed project version to 1.0.5
2017-12-14 21:26:21 -07:00
David Hall
57375676b5
Removed unneeded references from project dependencies
2017-12-14 11:37:56 -07:00
David Hall
a30f82d282
Lots of assembly refactoring: split PInvoke.User32 so GDI functions are in separate assembly, moved system classes from Vanara.UI to Vanara.System, split off shell classes to Vanara.Windows.Shell
2017-12-12 18:41:40 -07:00
David Hall
c531d22515
Updated projects to 1.0.4, added release notes, and updated correlation reports.
2017-12-10 18:45:07 -07:00
David Hall
9c39eec5f9
* Changed projects to v1.0.3
...
* Fixed DllImport attributes to match native methods
* Added Crypt32 and Mpr projects
2017-12-06 08:54:01 -07:00
David Hall
7fd5dbb3b6
Updated images in readme and NuGet packages.
2017-11-29 11:11:01 -07:00
David Hall
6b45f2ab1d
Changed all project files to build XML-doc on release and changed from .NET 4.61 to 4.5 to avoid use problems with all versions between them.
2017-11-28 17:12:19 -07:00
David Hall
8a3f943b11
Added tests around IEnumFromIndexer and fixed a bug related to the indexer property not being zero based
2017-11-28 09:52:34 -07:00
David Hall
d33fa43e7b
Minor cleaning and reorganizing
2017-11-28 09:00:10 -07:00
David Hall
951dc44dd8
Changed base of IEnumFromIndexer to IReadOnlyCollection since you mostly get it for free.
2017-11-28 08:52:03 -07:00
David Hall
35aa651977
Changed project files to version 1.0.2 and to have NuGet packages only build on Release
2017-11-27 20:30:54 -07:00
David Hall
b208f82df4
Updated projects and dependencies to allow for .NET Standard builds for all non-UI projects.
2017-11-27 16:50:18 -07:00
David Hall
b44f91b5a1
Initial code push: Core, PInvoke.Shared and PInvoke.TaskSchd
2017-11-27 10:18:01 -07:00