Commit Graph

219 Commits (d585fe18a376bcb35826892a6c864f297515be08)

Author SHA1 Message Date
dahall 4c4d8cad8d Updated tests with new Crypt32 function definitions 2020-03-09 10:18:53 -06:00
dahall cc7170875f Fix and test for #101 - Bug when using SafeAnysizeStruct. 2020-01-17 07:54:15 -07:00
dahall a98f49d582 Added tests and made corrections to Opc interfaces 2020-01-12 21:11:43 -07:00
dahall 95b1a68a6a Added empty unit test projects for Opc and UrlMon libs 2020-01-11 16:18:33 -07:00
dahall ca116d6e90 Completed adding and testing all functions for UserEnv.dll 2020-01-05 20:51:15 -07:00
Jeffrey Jangli a3fb998699 Fixed memory leaks when using WindowsIdentity.GetCurrent() (#91) 2020-01-01 15:41:44 -07:00
Jeffrey Jangli 9a21348784 Improved unit test. (#90)
Thanks.
2020-01-01 11:35:00 -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 b5a43c6255 Added test for UserEnv 2019-12-30 16:54:30 -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 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 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 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 06330a6bbe Added TOKEN_GROUPS test 2019-11-03 22:27:39 -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 bce3e9a411 Fixed test based on API change 2019-10-17 11:41:58 -06:00
David Hall c73424ae99 Added .NET friendly wrappers for Job Objects and I/O Completion Ports with tests. 2019-10-17 11:30:18 -06:00
David Hall 6aacdf6d91 Updated test with shared code 2019-10-07 22:00:35 -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 03344e7e77 Added all Gdi32 functions excluding printer, ddi and script calls 2019-10-01 17:45:45 -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 d086778902 Consolidated test file reference to TestCaseSources 2019-09-17 10:36:00 -06:00
David Hall bbd1ab47a5 Added ncrypt.h functions 2019-09-06 15:27:23 -06:00
David Hall c3ee660228 Completed unit tests and updates for pdh.dll 2019-09-05 15:32:41 -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 83560454ab Added assembly for KtmW32.dll functions and supporting unit tests 2019-08-28 15:23:56 -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 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 6cd8448d9a Renamed files 2019-08-26 15:15:39 -06:00
David Hall 869189f4d2 Renamed ServiceTests to WinSvcTests.cs for consistency. 2019-08-26 15:15:16 -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 6065013993 Completed unit tests and updates for winefs.h functions. 2019-08-23 14:05:09 -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 b7cedf436f Changed AdvApiTests.PrivBlock references to shared ElevPriv. 2019-08-19 15:09:06 -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 a69ebc00ae Added better error handling for estats tests, but still failing 2019-08-17 21:27:08 -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 86aa2d4b11 Fixed test problems 2019-08-17 21:12:39 -06:00
David Hall 692524a94a Fixed NotifyServiceStatusChange code and unit test 2019-08-17 19:26:09 -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