Commit Graph

2199 Commits (4620e983be2fa6acf877d47aecebcfa817ce7bbc)

Author SHA1 Message Date
David Hall 041879efba Partial nullability for FwpUCInt 2023-09-14 19:48:29 -06:00
David Hall de3e905ee1 Fix #427 2023-09-14 19:47:34 -06:00
David Hall aa34fe92d1 Added nullability to NdfApi 2023-09-13 17:10:19 -06:00
David Hall 26a82802a6 Added error messages to FhSvcCtl 2023-09-12 16:50:01 -06:00
David Hall c107434194 Updated Kernel32 with functions and structures to handle resource message tables. 2023-09-12 16:49:24 -06:00
David Hall 0555c195b3 Added nullability to CimFs 2023-09-11 10:24:30 -06:00
David Hall b60b790e50 Updated all Equals overloads with nullable param 2023-09-11 10:04:54 -06:00
David Hall e4704ef5d8 Added nullability to Cabinet 2023-09-11 10:04:27 -06:00
David Hall 8eb15a8559 Added nullability to P2P 2023-09-08 12:03:35 -06:00
David Hall 864eb9453b Fixed DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY enum #423 2023-09-08 07:31:21 -06:00
David Hall 1bdbe60d3b Added nullability to NtDll 2023-09-08 07:25:56 -06:00
David Hall c0dc3e92bd Added AVIERR_* values 2023-09-06 21:20:59 -06:00
David Hall b4e99ba58d Added ability to add values and libs to error message cache 2023-09-06 21:20:29 -06:00
David Hall d7593eadf3 Added ability to add lib to HRESULT.ToString 2023-09-06 21:20:02 -06:00
David Hall ba9d742d3a Fixed null bug in SafeBITMAPINFO 2023-09-06 21:19:32 -06:00
David Hall 575d6f923f Added nullability to ComDlg32 2023-09-06 21:19:10 -06:00
David Hall 039c96229b Added nullability to Multimedia 2023-09-06 17:06:05 -06:00
David Hall 8eab47487b Minor fixes to Gdi32 2023-09-06 17:05:33 -06:00
David Hall fa796733ad Finished nullability work on PInvoke.VirtDisk, VirtualDisk and Management 2023-09-06 09:14:25 -06:00
David Hall cf50f7203f Updated with expressions 2023-09-06 09:13:47 -06:00
David Hall 162dccdd63 Completed nullability work on CfgMgr32 2023-09-05 18:25:35 -06:00
David Hall 7567d879a6 Added nullability to SetupAPI 2023-09-05 15:41:00 -06:00
David Hall 6d4a2877dc Added nullability to Vanara.Net 2023-09-04 13:29:22 -06:00
David Hall cb40318a95 Added nullability for WlanApi 2023-09-04 12:47:43 -06:00
David Hall fcc7a66bd8 Minor fixes 2023-09-04 10:14:19 -06:00
David Hall 483c86b553 Fixed nullability for WinINet 2023-09-04 10:12:55 -06:00
David Hall a744a056e4 Added nullability to WInHttp 2023-09-04 09:39:32 -06:00
David Hall fe6de6b237 Nullability and fixes for IpHlpApi 2023-09-04 08:35:43 -06:00
David Hall 2e8088d403 Fixed bug in SOCKET_ADDRESS.GetSOCKADDR that prevented 16 bit entries from translating 2023-09-03 17:30:52 -06:00
David Hall 3968bf37a5 More nullability work on NTDSApi 2023-09-03 10:13:31 -06:00
David Hall 25e4278777 Fixed errors in Vanara.Shared uncovered in unit test nullability work 2023-09-03 10:03:37 -06:00
David Hall dcb28cb409 Added nullability to NetListMgr 2023-09-02 13:35:33 -06:00
David Hall 8a0edb4775 Added nullability to Mpr 2023-09-01 17:59:54 -06:00
David Hall b4d7ce30f4 Updated FirewallApi to resolve build errors 2023-09-01 17:32:19 -06:00
David Hall 685741305a Added nullability to Drt 2023-09-01 15:51:06 -06:00
David Hall 510a1cfbf1 Added nullability to DnsApi 2023-08-28 17:48:52 -06:00
David Hall 89719464b4 Cleanup 2023-08-28 08:02:35 -06:00
David Hall 49c46e7909 Added nullability to Dhcp 2023-08-28 08:01:26 -06:00
David Hall 84d562e739 Applied nullability to DOSvc 2023-08-27 10:43:54 -06:00
David Hall 3678847506 Completed nullability work on Vanara.PInvoke.BITS and Vanara.BITS 2023-08-23 14:28:45 -06:00
David Hall e8d911f828 Updated shell unit tests for nullability 2023-08-21 12:08:50 -06:00
David Hall 6d482f715a Finished nullability work on Windows.Shell 2023-08-21 11:11:05 -06:00
David Hall af64ba18a6 Finished nullable work on Vanara.Windows.Shell.Common 2023-08-17 11:44:44 -06:00
David Hall bdb62a47da Finished nullable work on SearchApi 2023-08-04 18:05:44 -06:00
David Hall 1aba884b1e Applied global usings and finished nullable work on Shell32 2023-08-04 10:24:49 -06:00
David Hall fe50ce3821 Completed nullable work on ShlwApi 2023-07-17 15:57:00 -06:00
David Hall 06b02c0dd6 Added #416 to nullable 2023-07-17 10:14:25 -06:00
David Hall 8cf3f8a1fc Finished nullable work on iphlpapi 2023-07-17 07:25:42 -06:00
David Hall 97d0daa4d4 Finished nullable work on Vanara.Security 2023-07-13 16:34:36 -06:00
David Hall 1f96c4ce75 Completed nullable work on ws2_32 2023-07-13 08:49:09 -06:00
David Hall 6936530fa1 Completed nullable work for NetApi32 and NTDSApi 2023-07-09 10:30:00 -06:00
David Hall ca1c19f83e Applied #417 to branch 2023-07-08 11:13:31 -06:00
David Hall 1e77b99600 Applied PR #411 to nullable branch 2023-07-05 19:48:56 -06:00
David Hall 24ef37690b Applied PR #413 to nullable 2023-07-05 19:47:36 -06:00
David Hall a08030092f Add SendMessage with class LPARAM 2023-07-02 21:12:41 -06:00
David Hall 5c9434136a Completed nullable work on CredUI and WinSCard 2023-06-30 07:27:26 -06:00
David Hall a5b9405b8e Minor fixes to build 2023-06-29 08:12:57 -06:00
David Hall 83c64b7082 Finished nullable for Accessibility 2023-06-28 20:46:30 -06:00
David Hall bf20f2d216 Updated FILETIME* references to PFILETIME 2023-06-28 17:01:38 -06:00
David Hall 5304fa5888 Added pointer support to PFILETIME 2023-06-28 16:34:05 -06:00
David Hall 37cf7dba09 Finished nullable work on shlwapi 2023-06-28 10:00:16 -06:00
David Hall 380236d718 Finished nullable work on Ole 2023-06-27 10:13:43 -06:00
David Hall 8c7908f385 Added PFILETIME class for nullable FILETIME parameters and fixed bug in FileTimeExt. 2023-06-27 10:12:22 -06:00
David Hall 4f2bc5233c Checkpoint 2023-06-25 19:31:05 -06:00
David Hall 620cda8594 More nullable work 2023-06-14 15:23:10 -06:00
David Hall e2abed7e02 Fixed formatting 2023-06-14 15:22:29 -06:00
David Hall fdaa6a3e87 Updated ImePad instances 2023-06-14 13:22:09 -06:00
David Hall 02bbdda836 Added all interfaces and supporting items from imepad.h. 2023-06-14 10:48:51 -06:00
David Hall cd45421110 More nullable work 2023-06-13 16:45:32 -06:00
David Hall 269afedb06 Changed CANDIDATELIST_MGD to use IVanaraMarshaler 2023-06-13 16:45:21 -06:00
David Hall 54af342ac2 Finished updating all the MsgParamAttribute values for window messages 2023-06-13 11:38:10 -06:00
David Hall cdb2608dbb Finished work on MsftEdit 2023-06-12 07:34:06 -06:00
David Hall 94a761c326 Lots of changes for rich edit 2023-06-08 18:21:28 -06:00
David Hall 917f979973 More work on storage io control #403 2023-06-08 18:19:42 -06:00
David Hall 4251870f93 Applied #404 2023-06-01 19:18:37 -06:00
David Hall 3fe497010d Added Vanara.PInvoke.MsftEdit project 2023-06-01 18:08:14 -06:00
David Hall eee1b6fb26 Added COLORREF converter from int 2023-06-01 18:07:18 -06:00
David Hall bf610da48f Added palette macros from gdi32 2023-06-01 18:06:58 -06:00
David Hall 36c9c6ed9c Updates addressing #403 2023-06-01 18:06:08 -06:00
David Hall b230f2033f Fixed #402 2023-05-28 14:45:29 -06:00
David Hall afd6b79b1f Check point - Lots of additions to windows messages 2023-05-28 09:07:56 -06:00
David Hall a7d1d26c19 Added missing fixes from 3.4.15 2023-05-19 07:44:13 -06:00
David Hall 822ee75fa7 Partial work on ComCtl32 2023-05-16 21:08:44 -06:00
David Hall ec3efefb73 FIx #389 WINEVENT 2023-05-13 20:28:19 -06:00
David Hall d75cbee08e Finished nullable work on User32 2023-05-13 20:16:32 -06:00
David Hall cf8607dcc6 Applied #395 to nullableenabled 2023-05-10 12:19:47 -06:00
David Hall 45455d3486 More nullable updates to User32 2023-05-10 11:19:47 -06:00
David Hall 98b997e9e2 Completed work adding type attribute for all WindowMessage values. 2023-05-09 11:56:16 -06:00
David Hall 164664503e Fixed formatting 2023-05-09 11:50:40 -06:00
David Hall 8d59fcfc62 Added 2023-05-01 commits to master 2023-05-01 16:51:02 -06:00
David Hall 8d4fa2d23f Updates to User32 and Usp10 2023-05-01 07:46:07 -06:00
David Hall 4e406797cc Completed nullable updates to Vanara.PInvoke.Gdi32 2023-04-19 07:51:02 -06:00
David Hall 52ff2f5899 Partial work on nullable for Gdi32 2023-04-15 11:27:36 -06:00
David Hall fec486a4d0 Completed nullability work on PInvoke.Security 2023-04-11 15:29:29 -06:00
David Hall f6f0fcf125 Added MessageBoxTimeout from #383 to this branch 2023-04-10 16:11:14 -06:00
David Hall f9fb81fe91 Added #388 into branch 2023-04-10 15:47:19 -06:00
David Hall c5605d51b8 Added in PR #386 to branch 2023-04-10 15:45:00 -06:00
David Hall b2a78e184b Checkpoint on nullable work after signature work on PInvoke.Security, enabling nullable for entire solution, and auto fixing all optional attributed string and array parameters. 2023-03-31 09:47:53 -06:00
David Hall 71a1fa1a6b Added nullability to Vanara.PInvoke.Cryptography 2023-03-14 16:11:52 -06:00
David Hall b3bff3d6a5 Updates to Core, Shared and Kernel32 2023-03-05 15:41:10 -06:00
David Hall 8fdb63dfc1 Added nullability to Vanara.PInvoke.NTDSApi 2023-02-20 15:54:33 -07:00
David Hall 523b1a5e75 Added nullability to Vanara.PInvoke.Cryptography 2023-02-20 15:35:21 -07:00
David Hall 20011e1970 Added nullability constructs to Vanara.PInvoke.Shared 2023-02-20 07:58:52 -07:00
David Hall f7168cf0e1 Fixed LOGPALETTE structure and related functions 2023-02-20 07:58:13 -07:00
David Hall 54b1923a26 Added nullability to Vanara.Core 2023-02-18 19:31:48 -07:00
David Hall 23470e6828 Applied #375 to nullableenabled branch 2023-02-16 07:49:12 -07:00
David Hall 88db6a6fa3 Added dll to PhotoAcquire data 2023-02-05 19:45:04 -07:00
David Hall 89a6861eb0 Updated project files 2023-02-04 15:38:40 -07:00
David Hall e78039c009 Added Ole32.IDataObjectV for a more complete reference to IDataObject 2023-02-04 11:10:12 -07:00
David Hall 98aba004bb Fixed a bunch of build errors related to missing XMl docs and nullability 2023-02-04 10:53:01 -07:00
David Hall 2829327b26 Added equality ops to PROC_THREAD_ATTRIBUTE and cleaned file 2023-02-03 13:18:44 -07:00
David Hall b742b4bd0d Added SafeSyncHandle.Wait method wrapping WaitForSingleObject 2023-02-03 13:10:26 -07:00
David Hall 38b7fcbfc3 Added SafeHANDLE.ThrowIfDisposed method to help implement safer calls. 2023-02-03 11:48:03 -07:00
David Hall 764efd8a14 Added conversion operator from FileSystemInfo to FILEDESCRIPTOR 2023-02-02 20:26:53 -07:00
David Hall f424be07a8 Updates to synchapi method params and extension of SafeEventHandle 2023-02-02 11:54:20 -07:00
David Hall ee9d5b4410 Updated project files 2023-01-31 15:32:15 -08:00
David Hall 139ec44dd4 Finished work on Vanara.PInvoke.CoreAudio 2023-01-31 15:00:12 -08:00
David Hall 5a71e37846 Added AvRt.dll support in Vanara.PInvoke.Avrt 2023-01-31 14:59:45 -08:00
David Hall d994e6a7e7 Updated project files 2023-01-29 10:57:53 -07:00
David Hall dd1af5f67c More BREAKING CHANGES to NativeClipboard. (Sorry!) All atomic methods to set data have been removed due to inconsistencies and design challenges. New model forces all setting and getting to be done through IDataObject and it's methods and extensions. See documentation for class for example. Addresses #355. 2023-01-29 10:20:13 -07:00
David Hall e0685fdf46 Updates in prep for more work on CoreAudio 2023-01-28 20:09:22 -07:00
David Hall 8acd43ab28 Fixed XML docs after PR 2023-01-28 20:02:15 -07:00
Peter Šulek 8ed6e0402d
#371 Add Create method for types MONITORINFO and MONITORINFOEX (#372)
* #371 Add Create method for types MONITORINFO and MONITORINFOEX

* fixed CodeFactor issues

* #371 Add Create method for types MONITORINFO and MONITORINFOEX

* fixed CodeFactor issues

* changed Create methods to Default property

* fixed MONITORINFOEX.Create() with MONITORINFOEX.Default

---------

Co-authored-by: Peter Šulek <peter.sulek@synotgames.com>
2023-01-28 18:44:24 -07:00
David Hall 93ccf3ca34 Finished work on TDH methods 2023-01-28 18:38:16 -07:00
David Hall 9c7868e06d Work on TDH field helper functions 2023-01-28 09:12:45 -07:00
David Hall 90fe9cedbd Usability updates to TDH functions 2023-01-27 21:13:06 -07:00
David Hall 4a2216f13b Added SafeNativeArray.GetRefAt method to get a reference to an element in the array 2023-01-27 21:12:45 -07:00
David Hall f257e79724 Updated project files 2023-01-27 19:54:38 -07:00
David Hall 5752b94fbc * Added tdh.dll methods to Vanara.PInvoke.Security.
* BREAKING CHANGE: Removed inaccurate tdh.h values from AdvApi32 class and put them in Tdh
2023-01-27 19:35:44 -07:00
David Hall a5195e51ae Added parameter attributes 2023-01-26 18:05:33 -07:00
David Hall 177688f196 Lots of work on WindowBase, VisibleWindow, WindowClass and MessagePump 2023-01-26 18:05:19 -07:00
David Hall ab28c3647f Added and modified classes supporting window creation and message pumps 2023-01-23 20:40:42 -08:00
David Hall b6c6ae03d5 Moved IWindowCore to MessagePump.cs 2023-01-21 17:52:46 -07:00
David Hall 9ae4a0007c Reverted User32.BasicMessageWindow to previous, simpler implementation 2023-01-21 15:39:00 -07:00
David Hall fe5fed55a4 Significant expansion to User32.WindowClass wrapper around WNDCLASSEX 2023-01-21 15:38:02 -07:00
David Hall 5a012bed7a Fixed packing on WINHTTP_CONNECTION_INFO (#368) 2023-01-21 15:20:50 -07:00
David Hall 0f6975dc8b Added GetClassLongFlag enum and updated GetClassLong and SetClassLong parameter, added CallWindowProc and FindWindowEx overloads, fixed bug with CreateClassInfoEx, added param attribute for winuser.h window functions 2023-01-21 15:18:37 -07:00
David Hall c4d83136ca Added parameter attributes 2023-01-21 15:15:08 -07:00
David Hall d2d3dd21dd Fixed bug with WindowLongFlags additions 2023-01-21 15:13:47 -07:00
David Hall fcfeb0177d Remove incorrect NonSerialized attributes from POINT 2023-01-21 15:13:11 -07:00
David Hall 37c9b744d7 Fixed INVALID_FILE_ATTRIBUTES value and type (#369) 2023-01-21 15:11:37 -07:00
David Hall 971616cba3 Added some UxTheme method overloads taking enums 2023-01-16 21:32:26 -07:00
David Hall 3fe5462417 Added missing DWM constants 2023-01-16 21:31:56 -07:00
David Hall a89e1616c7 Added missing WindowLongFlags values 2023-01-16 21:31:38 -07:00
David Hall 3deb37b9c8 Fixed bug in User32.SetWindowLong 2023-01-16 20:57:48 -07:00
David Hall 5107816310 Added Point.x and y properties to match some C++ implementations 2023-01-16 20:51:13 -07:00
David Hall 7407e1fe84 Fixed weird file fmt 2023-01-16 19:29:36 -07:00
David Hall 2e71f16824 Added missing constants to UxTheme 2023-01-16 19:20:05 -07:00
David Hall 7bf4c15e50 Added MessagePump and ExaminedMessagePump as means to process Get/PeekMessage->DispatchMessage loops. 2023-01-16 16:41:23 -07:00
David Hall 0b67042aed Extracted IWindowCore from BasicMessageWindow 2023-01-16 16:33:05 -07:00
David Hall 74af9a28ff Added CorrespondingTypeAttribute to WindowLongFlags values 2023-01-16 12:26:28 -07:00
David Hall 611ec4a90a Added CorrespondingTypeAttribute to WindowLongFlags values 2023-01-16 12:26:00 -07:00
David Hall 61aa8a27dd Undo change with version to VssApi project 2023-01-16 12:14:56 -07:00
David Hall 6f80b4217d Fixed and extended implicit operators for RECT and PRECT 2023-01-16 12:13:58 -07:00
David Hall 643a8c1556 Updated version to 3.4.13 2023-01-16 07:55:01 -07:00
David Hall f1a3b2de88 Updated DWMWINDOWATTRIBUTE with new Win11 values 2023-01-15 15:43:16 -07:00
David Hall d442ebdd65 Updated project information 2023-01-15 15:27:57 -07:00
David Hall 8d8ffa4d5b Additional documentation for NativeClipboard and IDataObject extensions 2023-01-14 16:12:40 -07:00
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
Trevor Davis 677a5a389c
Added SetWindowAttributes in DwmApi from Windows 11. (#363) 2023-01-11 15:37:34 -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 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 57e6ca380c Added zeroing support to Dns Allocator 2023-01-04 17:16:37 -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 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 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 442fc2591d Added SafeMoveableHGlobal.CallLocked method 2022-12-30 18:23:46 -07:00
David Hall ca0854d510 Updated project files 2022-12-29 13:54:33 -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 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 c5ecb5e1c7 Removed x64 preproc dependency 2022-12-22 09:31:58 -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 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 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 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
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 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 bbb2becc0b Fixed layout of TOUCHPREDICTIONPARAMETERS (#347) 2022-12-07 09:15:40 -07:00