Commit Graph

1966 Commits (19922b219df6edcf1fa24571a7a152d5f6f4d664)

Author SHA1 Message Date
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
David Hall d1d0ff51ca Added Missing Disk Management Control Codes #345 2022-11-29 08:02:07 -06: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 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
Martin Kuschnik 37d2a55ea8
Fixed NullReferenceException caused by unsuccessful CredRead call (#344)
* Added unit test for not existing credential
* fixed NullReferenceException caused by null to CREDENTIAL_MGD conversion
2022-11-14 09:06:07 -07:00
Dean Herbert eebcfb01be
Add high resolution flag for waitable timer initialisation (#343)
Thanks
2022-11-13 16:04:36 -07:00
Dean Herbert f2e7c4fba2
Add `[Flags]` attribute to a couple of enums which require it (#342)
Thank you!
2022-11-13 16:03:56 -07:00
XiaoHe321 2e77f5b4b0
Fix POINTER_INPUT_TYPE missing initial value (#340) 2022-11-09 20:23:51 -07:00
David Hall 6e77cebd06 Direct Manipulation is part of DirectX. TerraFX covers that sufficiently. 2022-11-04 14:21:45 -06:00
David Hall 7b71ed67fb Added Vanara.PInovke.DirectManipulation assembly 2022-11-04 12:20:58 -06:00
David Hall 932bea52d9 Changed BIND_OPTS2.locale field to LCID type 2022-11-04 10:45:38 -06:00
David Hall 3f00a686d2 Added definition for CoGetObject that supports BIND_OPTS_V derivatives (#338) 2022-11-04 10:10:56 -06:00
David Hall 1a6015ec59 Updated project files 2022-10-30 14:01:59 -06:00
David Hall e1101990b0 Updates to WebSocket 2022-10-30 09:35:13 -06:00
David Hall c48d87e8ab Added Vanara.PInvoke.WebSocket assembly 2022-10-29 18:14:27 -06:00
David Hall 4e332881ac Fixed problems with SendMessage overloads not passing parameters (#333) 2022-10-29 13:39:07 -06:00
David Hall 95cdb906b5 Added Vanara.PInvoke.WscApi project for Windows Security Center functions. 2022-10-28 18:42:29 -06:00
David Hall 7456cb991f Added supporting macros as properties to IP_PATTERN 2022-10-28 16:08:42 -06:00
David Hall 4f2f789088 Added IPPROTO_IPV6 socket options 2022-10-27 22:14:27 -06:00
David Hall 500e313da7 Added QOS2 overloads 2022-10-27 21:41:49 -06:00
David Hall 3b75625c80 Added overloads with more precise params to WinSock2 functions 2022-10-27 21:36:32 -06:00
David Hall 326692ab25 Overloadded SetWaitableTimer and SetWaitableTimerEx to accept a `long` value for the lpDueTime param. 2022-10-27 13:14:24 -06:00
David Hall 7d9101e977 Added Microsoft-specific winsock constructs to Ws2_32 2022-10-26 23:03:47 -06:00
David Hall 72cb218e0c Merge branch 'master' of https://github.com/dahall/Vanara 2022-10-25 11:25:04 -06:00
David Hall 075b9046f8 Updated project files 2022-10-25 11:24:54 -06:00
David Hall 17acbee104 Added new functions introducted in Win11 2022-10-25 11:24:37 -06:00
Scover e3d3075356
Fixed SetPointSize LOGFONT passed by value with a ref (#332) 2022-10-24 07:07:05 -06:00