Commit Graph

1335 Commits (92227c8afd89ea03703f5289b972e269958f6b77)

Author SHA1 Message Date
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 b5a43c6255 Added test for UserEnv 2019-12-30 16:54:30 -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 9534fdf81c Merge branch 'master' of https://github.com/dahall/Vanara 2019-12-30 15:37:56 -07:00
Jeffrey Jangli ed37ebc3c3 -Improved/fxed mem leaks in BITS unit tests and method CopyTemplate.cs (#88) 2019-12-30 15:37:29 -07:00
David Hall ef322f1d42 Added functions and interfaces from url.dll to Shell32. 2019-12-30 15:32:32 -07:00
David Hall 19bbc90234 Corrected bug in ShellItem.Open that would incorrectly try to open .url files as IShellLink. Now opens them as IShellItem. (#82) 2019-12-30 14:21:15 -07:00
David Hall 4ced0d98da Fixed ShellItem.GetImage so it doesn't fail when it cannot make the returning bitmap transparent. (#85) 2019-12-30 11:23:18 -07:00
David Hall d1d4ed7889 Merge branch 'master' of https://github.com/dahall/Vanara 2019-12-30 10:26:10 -07:00
David Hall 08273f800c Added StringHelper.IsNullOrWhiteSpace to account for missing function prior to .NET 4. (#86) 2019-12-30 10:25:45 -07:00
David Hall f1b1951d8f
Added more detail to include. 2019-12-30 10:15:56 -07:00
David Hall b875577809 Fix for #81 2019-12-29 22:37:43 -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 4096345176 Fixed incorrect buffer length in GetUNCServer (#78) 2019-12-17 20:04:02 -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 f74d478b28 Added support for serialization to WriteNoChecks 2019-12-10 06:55:54 -07:00
David Hall ad3e1e06ce Fixed EnumInheritance 2019-12-10 06:55:20 -07:00
David Hall c3121e6ecb Fixed passing byte[] into GetSize 2019-12-10 06:54:55 -07:00
David Hall 89d17b5241 Added ISerializable support as last option for pushing and pulling from memory pointers 2019-12-09 07:22:20 -07:00
David Hall e3a4cd6f93 Fixed bugs in RegistryTypeExt.GetValue and added GetFromType method 2019-12-08 21:17:02 -07:00
David Hall 38baa53cc1 Unfinished work on object marshaler 2019-12-06 17:09:56 -07:00
David Hall 159f1c8235 Added EnumInheritance and InheritsFrom extension methods. 2019-12-06 17:09:08 -07:00
David Hall 2cb4245f37 Added IsMarshalable method and converted most uses of IsBlittable to it. Fixed MarshalToPtr(Array ... method to not throw casting exception. 2019-12-06 17:07:21 -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 850c6b035a
Added ref to WinClassicSamplesCS 2019-11-26 08:25:30 -07:00
David Hall 8bb754f22e Updated project files to version 3.1.5 2019-11-26 08:20:16 -07:00
David Hall c03b7b3bc5 Updated for 3.1.4 release 2019-11-26 07:15:27 -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 61fe0f30d8 Changed Marshal.SizeOf to InteropExtensions.SizeOf to account for IVanaraMarshaler instances 2019-11-25 19:36:46 -07:00