Commit Graph

3138 Commits (34fd355ed23ad7ff0b84fa96a3902f85af089aeb)

Author SHA1 Message Date
David Hall 55512c732e Tons of fixes and updates to IDataObject and Clipboard methods and wrapper classes. 2023-01-05 10:28:15 -07:00
David Hall 03ef05b415 Removed error handling from MoveableHGlobalMemoryMethods.FreeMem 2023-01-05 10:26:00 -07:00
David Hall 06c7284269 Changed ISimpleMemoryMethods.Allocs to public 2023-01-04 17:17:26 -07:00
David Hall 57e6ca380c Added zeroing support to Dns Allocator 2023-01-04 17:16:37 -07:00
David Hall 13365d967f Added locking to SafeMemoryHandle.ToType extension method 2023-01-04 17:11:01 -07:00
David Hall c9d676711e Added new project 2023-01-04 17:08:57 -07:00
David Hall 63203f558e Updated SafeMoveableHGlobalHandle class and added tests. 2023-01-04 17:08:36 -07:00
David Hall 7c0c7fe66c Added Vanara.PInvoke.DavClnt which takes methods out of NetApi32. Set those methods to Obsolete. 2023-01-04 17:07:24 -07:00
David Hall 05292d5f8a Cleaned 2023-01-02 14:42:46 -07:00
David Hall 7a2972c6b2 Cleaned 2023-01-02 14:40:48 -07:00
David Hall 3596f9999b Changed ASCII encoder to UTF8 encoder in string helper classes for broader character support. 2023-01-02 14:38:38 -07:00
David Hall 8e9280e5aa Updated XML docs 2023-01-02 10:41:24 -07:00
David Hall e9ec92afad Added Shell32.SHCreateDataObject overload to simplify use and prevent unintentional bugs using PIDL class. 2023-01-02 10:34:39 -07:00
David Hall 25392d6ab8 Added Type.GetConstants extension method 2023-01-02 10:33:03 -07:00
David Hall d480e3040e Fixed bug in InteropExtensions.Write(IEnumerable<string>...) method that wiped out existing values if an offset was provided. 2023-01-02 10:32:35 -07:00
David Hall dbaa250ded Added support for memory classes and interfaces to indicate if they zero memory on initialization to prevent re-zeroing. 2023-01-02 10:31:15 -07:00
David Hall 73eeac1807 More NativeClipboard work 2022-12-30 19:39:34 -07:00
David Hall 8e09e4e2dd More work on NativeClipboard 2022-12-30 18:24:08 -07:00
David Hall 442fc2591d Added SafeMoveableHGlobal.CallLocked method 2022-12-30 18:23:46 -07:00
David Hall f786ef22d2 More work on NativeClipboard 2022-12-30 16:19:14 -07:00
David Hall 7ca924e5f7 Hopefully fixed #355 2022-12-30 13:56:19 -07:00
David Hall 04cb2edf66 Updated solution files 2022-12-29 13:58:32 -07:00
David Hall ca0854d510 Updated project files 2022-12-29 13:54:33 -07:00
David Hall 59df2f4159 Fixed bug introduced by GetMessage fix 2022-12-29 13:39:08 -07:00
David Hall 2bed2f1065 Put nuspec build info into project for VssApi 2022-12-29 13:38:48 -07:00
David Hall aec17d3f0d Updated VssApi project to use nuspec file, but not auto build yet. 2022-12-29 09:44:05 -07:00
David Hall d09b260f81 Updated VssApi.nuspec to pull values from project. 2022-12-29 09:39:30 -07:00
David Hall 0fba2e09fb Changed return value of `User32.GetMessage` to `int` so value of -1 can be returned. Fixes #360. 2022-12-29 09:36:32 -07:00
David Hall f92d6d2c4c Added DS_xx dialog box styles to User32 as DialogBoxStyles enum (#359) 2022-12-28 16:56:34 -07:00
David Hall c0f5ed1595 Changed VSS_MGMT_OBJECT_PROP to struct for marshaling 2022-12-28 16:49:56 -07:00
David Hall 56571b2522 Changed NativeClipboard.SetShellItems functionality and added overlaod. 2022-12-27 09:34:36 -07:00
David Hall 0f00ef4fcf Fixed NativeClipboard GetText and SetText methods. Also changed ctor so that if no HWND is passed, it uses the Desktop's window handle. Fixes #355. 2022-12-25 17:05:38 -07:00
David Hall 5d6cf1b15e Added Clipboard functions that wrap Unicode to Ansi and back conversions 2022-12-25 17:04:11 -07:00
David Hall 5f8606788c Added WideCharToMultiByte and MultiByteToWideChar overloads taking byte arrays. 2022-12-25 17:03:29 -07:00
David Hall b835b19f18 Fixed dumb mistake 2022-12-23 12:34:46 -07:00
David Hall 050ee7ede4 Fixed #357 (set moniker on IFileSystemImage2.BootImageOptionsArray) 2022-12-23 12:26:46 -07:00
David Hall 688d195185 Add MouseActivateCode as WM_MOUSEACTIVE response (#358) 2022-12-23 12:20:50 -07:00
David Hall 2a53c3ca53 Updated build config 2022-12-22 10:07:46 -07:00
David Hall c5ecb5e1c7 Removed x64 preproc dependency 2022-12-22 09:31:58 -07:00
David Hall 539188be97 Updated solution files 2022-12-21 20:33:51 -07:00
David Hall 532f43037b Removed dependencies on all x64 preprocessor indications and just made all structures work for both 32 and 64-bit (#346) 2022-12-21 20:33:41 -07:00
David Hall b2e972c77e Fixed NuGet references 2022-12-21 20:31:52 -07:00
David Hall a3cf995800 Aligned targets in high-level projects 2022-12-21 20:31:06 -07:00
David Hall 5241527f1f Added TestHelper.DumpStructSizeAndOffsets 2022-12-21 20:29:52 -07:00
David Hall 5c48d15f84 Fixed alignment of SET_VIRTUAL_DISK_INFO (#356) 2022-12-21 20:29:15 -07:00
David Hall 97c6db5d9d Added X64 requirement to Vanara.PInvoke.VirtDisk 2022-12-20 16:13:41 -07:00
David Hall 090c28bbe6 Fixed x64 compiler variable 2022-12-20 15:37:48 -07:00
David Hall be1420392e Removed nuget post build event from VssApi 2022-12-20 15:08:44 -07:00
David Hall 258cab3ad9 Added NativeClipboard.GetFileNameMap, GetShellItemArray, IsFormatAvailable(string) and SetShellItems methods (#353) 2022-12-20 15:06:37 -07:00
David Hall 64cab4e063 Added ability to pick character set in IDataObject.GetData<T> method 2022-12-20 15:05:01 -07:00