Commit Graph

3149 Commits (2c10bf7415234d7ae5c4cfb897697b2634260acb)

Author SHA1 Message Date
David Hall 8cabbdb381 BREAKING CHANGE: Changed parameters of Ole32.IStreamV.Seek and CopyTo methods to use `out` parameters. Cost of throwing away value was determined to be zero. 2023-01-14 16:11:46 -07:00
David Hall 94703f0acc More NativeClipboard changes 2023-01-14 11:36:08 -07:00
David Hall fbb788c248 Merge branch 'master' of https://github.com/dahall/Vanara 2023-01-11 17:29:01 -07:00
David Hall 8dbbf68542 Another NativeClipboard push 2023-01-11 17:28:51 -07:00
Trevor Davis 677a5a389c
Added SetWindowAttributes in DwmApi from Windows 11. (#363) 2023-01-11 15:37:34 -07:00
David Hall 2d02c0a1b5 Still more work on NativeClipboard 2023-01-11 12:26:40 -07:00
David Hall f793f09790 Another try at getting NativeClipboard working 2023-01-10 15:51:13 -07:00
David Hall a59e0e592c Added NativeClipboard.Clear method and fixed DataObject setter 2023-01-07 21:46:50 -07:00
David Hall a216e1c9d7 Added ability for IDataObject.GetData to retrieve an HGLOBAL as an IStream 2023-01-07 21:46:03 -07:00
David Hall d3f0fd68ad Fixed ASCII filenames to use short format 2023-01-05 16:06:28 -07:00
David Hall 4e5ebb515b Updated clipboard SetText methods 2023-01-05 16:06:09 -07:00
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