Commit Graph

2907 Commits (0f00ef4fcf8399a60e5c6c5adb34eb6b214037b2)

Author SHA1 Message Date
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
David Hall ff5d0acb2a Added missing parameter attributes 2022-12-20 15:03:19 -07:00
David Hall 4a406c0518 Added `UseX64` tag to projects where x64/x86 makes a difference to structures. 2022-12-19 18:49:55 -07:00
David Hall 7af4bc6b03 Updated tests for NativeClipboard 2022-12-19 17:13:17 -07:00
Scover 637b59da60
Updated ``SafeLPSTR``, ``SafeLPTSTR`` and ``SafeLPWSTR`` (#352)
* Fixed unbounded recursion

Fixed unbounded recursion in ``SafeLPSTR``, ``SafeLPTSTR`` and ``SafeLPWSTR`` implicit cast operators from string by inverting the types.
As the associated documentation states the operators are supposed to convert to a string, not from a string.

* Removed useless operators + nullable
2022-12-19 16:42:43 -07:00
David Hall 8247f6ae34 Fixed definition problem with `IDataTransferManagerInterop.GetForWindow` (#354) 2022-12-19 16:41:13 -07:00
David Hall a620e499fc Got the VssApi projects to build 2022-12-16 23:40:39 -07:00
David Hall 63a332ae28 Merge branch 'master' of https://github.com/dahall/Vanara 2022-12-09 08:06:48 -07:00
Scover 4fe53616ec
Added mssing Pack = 1 to TASKDIALOG_BUTTON (#351)
Fixes access violation when calling TaskDialogIndirect
2022-12-09 08:06:26 -07:00
David Hall 36ea2a94ef Removed .NET 7 2022-12-09 08:06:07 -07:00
David Hall 35d5a53f2d Fixed null reference 2022-12-09 08:05:53 -07:00
David Hall f7c4c428be Re-added a corrected solution file with support for x86 and x64 platforms. 2022-12-08 21:09:53 -07:00
David Hall fd86deaf55 Removed platforms from solution leaving only AnyCPU 2022-12-08 17:39:01 -07:00
David Hall 6fbb14d6fe Updated NuGet package dependencies 2022-12-08 17:38:29 -07:00
David Hall 27b1fb5d95 Corrected minor build warnings 2022-12-08 17:23:33 -07:00
David Hall 4c66e36105 Fixed bug in ShellLink.ShowState that was carried over from old code. (#349) 2022-12-07 14:50:07 -07:00
David Hall bbb2becc0b Fixed layout of TOUCHPREDICTIONPARAMETERS (#347) 2022-12-07 09:15:40 -07:00
David Hall 9b779ddaa1 Added <Platforms> tag to Directory.Build.props 2022-12-05 18:36:44 -07:00
David Hall d1d0ff51ca Added Missing Disk Management Control Codes #345 2022-11-29 08:02:07 -06:00
David Hall 6fb1d69828 Fixed exceptions being thrown by `BOOL` and `BOOLEAN` when interacting with `int` and ! operator 2022-11-18 07:54:12 -07:00
David Hall 2b1f3e9a31 Fixed optional param problem with DateTime APIs in Kernel32. 2022-11-17 13:12:07 -07:00
David Hall abf3434b87 Added CHANGEFILTERSTRUCT.Default field 2022-11-16 21:38:56 -07:00
David Hall 13b2c2960c Added OBM_ constants 2022-11-16 21:38:31 -07:00
David Hall 16d872caad Added enum overloads for PeekMessage and PostMessage 2022-11-16 21:38:15 -07:00
David Hall cd004f94a2 Add implicit op from SafeHANDLE to HANDLE 2022-11-16 21:37:42 -07:00
David Hall db86377954 Added implicit op for SystemColorIndex to HBRUSH 2022-11-16 21:37:13 -07:00
David Hall 19b4ef1fdf Added `Null` field to all GDI handles 2022-11-16 21:36:40 -07:00
David Hall ebd7cb0a5a Removed test proj from Release 2022-11-16 18:31:34 -07:00
David Hall 1a5d668418 Added Vanara.PInvoke.PhotoAcquire assembly with interfaces for Photo Acquisition. 2022-11-16 17:10:01 -07:00
David Hall 33f7376700 Cleaned 2022-11-16 13:50:29 -07:00
David Hall 630261a8c4 Fixed bug in IEnumString.Enum extension method 2022-11-16 11:53:02 -07:00
David Hall 8387a31b26 Updated NUnit package version for tests 2022-11-16 11:52:29 -07:00