Commit Graph

1990 Commits (ff50c4a4c9b25abd88cf8a4a47f92c56e0fd4a94)

Author SHA1 Message Date
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
David Hall f60a379236 Added Vanara.PInvoke.QoS project with QWave and QoS traffic support. 2022-10-22 11:02:37 -06:00
David Hall 3aa836efce Added overload to WinSpool.DeviceCapabilities to support NULL pDevNode param (#331) 2022-10-21 17:01:44 -06:00
David Hall 258dd6e4ad Fixed bug in SafeDRT_DATA 2022-10-13 10:01:35 -06:00
David Hall 18cafb3499 Added indexer to `SafeElementArray` 2022-10-12 09:39:43 -06:00
David Hall 83346f4794 Changed `SafeDRT_DATA` to inherit from `SafeElementArray` for direct access to bytes. 2022-10-12 07:53:21 -06:00
David Hall 6e0d824233 Exposed static fields in `SafeElementArray` 2022-10-12 07:52:36 -06:00
David Hall cbca5c5971 Fixed DrtCreateDerivedKey 2022-10-11 19:56:45 -06:00
David Hall 5e4b20e8e8 Updates to Drt fixing method params 2022-10-11 19:50:32 -06:00
David Hall 4d6b60109e Added explicit conversion from WSRESULT to Win32Error 2022-10-11 14:06:46 -06:00
David Hall 23f455efaa Updated `DistributedRoutingTable` and supporting classes 2022-10-11 11:54:05 -06:00
David Hall ba6791b91c Added `DebuggerDisplayAttribute` to `IndirectString` 2022-10-11 09:42:01 -06:00
David Hall 5ef5280cb7 Updated docs 2022-10-11 09:41:04 -06:00
David Hall d88ce8c99f Fixed problem with `IndirectResource` and nullable string values 2022-10-10 14:48:30 -06:00
David Hall f3a42c72f9 Added nullable support to `IndirectResource` and `IndirectString` 2022-10-10 10:34:02 -06:00
David Hall 8f039f6250 Added `SHLoadIndirectString` stub to `IndirectString` to avoid referencing full library. 2022-10-10 10:07:14 -06:00
David Hall 0afb23e24e Moved classes `IndirectResource` and `IndirectString` to `Vanara.PInvoke.Shared` library since they capture a pattern across Win32. 2022-10-10 10:01:29 -06:00
David Hall 0876214699 Cleaned 2022-10-10 09:29:24 -06:00
David Hall c369b9d8f9 Cleaned ResourceId and added equality operators 2022-10-10 09:27:03 -06:00
David Hall 27541f526a Minor updates to PR #328 2022-10-08 20:58:57 -06:00
rmeshksar a378790373
Adding NMTBCUSTOMDRAW struct (#328)
Co-authored-by: Reza Meshksar <reza.meshksar@avanande.com>
2022-10-08 20:51:55 -06:00
David Hall 73b36972da Fixed packing issue with TBBUTTONINFO (#327) 2022-10-08 20:39:55 -06:00
David Hall 55bab3873e Fixed TBBUTTONINFO.fsStyle set failure #326 2022-10-08 20:38:18 -06:00
David Hall bdf07f10f5 Added DRT unit test and more DRT work 2022-10-04 14:18:34 -06:00
David Hall 48b09fd666 Working DistributedRoutingTable 2022-10-04 09:30:13 -06:00
David Hall 76087b0ab5 Corrected build warnings related to RequiresUnreferencedCodeAttribute 2022-10-04 09:06:09 -06:00
David Hall 7d786bd572 Updated project files 2022-10-03 13:09:25 -06:00
David Hall 043078036c Added `SafeHDRT` smart handle. 2022-10-03 10:01:45 -06:00
David Hall 2c860ccf1e Added more WinSock2 struct conversion methods 2022-10-03 10:01:00 -06:00
David Hall e5bca53d63 Fixed #324 better with testing 2022-09-29 13:23:48 -06:00
David Hall b99e42b53a Fixed problem with definition of SYMBOL_INFO not working when passed by ref (#324) 2022-09-29 10:01:55 -06:00
David Hall 3a55f1bb9e Push to fix build. No real update. 2022-09-27 21:57:22 -06:00
David Hall 349f3b8d17 Fixed problem with SendMessage overload that used a ref struct as final param (#322) 2022-09-27 20:02:10 -06:00
David Hall 2c95eb502f Added AF_UNSPEC handler for implicit conversion from SOCKADDR to SOCKADDR_IN (#321) 2022-09-24 12:22:49 -06:00
dahall e7bb9c00cb BREAKING CHANGE: Fixed marshaling problem with HTTP_DATA_CHUNK (#320) 2022-09-22 11:10:32 -06:00
David Hall ca2f1369f0 Fixed #318 and added simple test for HttpApi 2022-09-20 13:37:25 -06:00
David Hall 79b0342a7d Fixed bug in SafeAnysizeStructBase that couldn't process string arrays. Root cause of #315. 2022-09-16 18:34:22 -06:00
David Hall 7870e9741e Fixed Kernel32.MapViewOfFileEx parameter #316 2022-09-16 16:24:37 -06:00
David Hall ac6ae1137f Updated project info 2022-09-16 15:04:32 -06:00
David Hall 9c29afedad Fixed Xml docs 2022-09-16 10:48:19 -06:00
David Hall 148e52d8d6 Added helper properties and fixed parameters in DnsApi 2022-09-16 10:47:52 -06:00
David Hall 38b4bf7e0a Added missing enums to Dhcp project 2022-09-16 10:42:14 -06:00
David Hall 073d59b34c Updated project files 2022-09-06 11:28:22 -06:00
David Hall d1f3e04dbe Added WTSApi32 missing constants and correlated types 2022-09-05 10:21:02 -06:00
David Hall e2f453b2c6 Updated project files 2022-09-03 10:28:08 -06:00
David Hall 912bc9a3cc Included RdcStreamReader implementation of IRdcFileReader in base assembly since it is very reusable. 2022-09-03 10:01:03 -06:00
David Hall 232b0e88cd Added Vanara.PInvoke.MsRdc for the Remote Differential Compression (RDC) API 2022-09-03 09:54:10 -06:00
David Hall 2099517c90 Added SafeNativeArrayBase.GetPointers method 2022-09-02 16:33:46 -06:00
dahall 42ffa566d0 Updated project files 2022-09-01 16:35:22 -06:00
dahall 7c032ba708 Renamed all project report files to 'readme.md' so they show in GitHub 2022-09-01 14:43:04 -06:00
dahall 7aff9b2f20 Fixed IDODownload.SetProperty to handle VARIANT param 2022-09-01 13:33:52 -06:00
dahall d65d950db7 Updated optional params for CoSetProxyBlanket 2022-09-01 13:29:57 -06:00
dahall fc447c117a Added missing fwpuclnt functions 2022-09-01 07:18:05 -06:00
dahall cc807e5548 Updated project files 2022-08-31 20:12:28 -06:00
dahall 14cd51e53f Cleaned and reorg'd 2022-08-29 17:10:20 -06:00
dahall c8e6c5a4b0 Added Vanara.PInvoke.FwpUClnt assembly and tests 2022-08-29 16:18:54 -06:00
dahall 5c0dbc913b More work on NdfApi 2022-08-10 14:34:37 -06:00
dahall 68c88f4508 Fixed bug in IN_ADDR(byte[]) ctor. 2022-08-10 14:34:02 -06:00
dahall 62c461fcb7 Added Vanara.PInvoke.NdfApi assembly 2022-08-08 22:47:08 -06:00
dahall cc8f5045b8 Fixed problems with CLFS_MGMT_POLICY 2022-08-06 18:01:16 -06:00
dahall 3b18dd7755 Updated project files 2022-08-06 15:38:43 -06:00
dahall 2e2d9d6c22 More work on ClfsW32 2022-08-06 11:20:18 -06:00
dahall 5019470887 More work on CLfsw32 2022-08-05 21:52:57 -06:00
dahall 155609864a Fixed minor build errors 2022-08-05 21:03:44 -06:00
dahall df3e5c224b Added tests and fixed problems with ClfsW32 2022-08-05 17:10:34 -06:00
dahall ec819a941d Fixed naming conflict with FILE_SHARE enum 2022-08-05 17:10:07 -06:00
dahall b3750bcb16 Added ClfsW32 project for Common Log File access. 2022-08-05 14:55:33 -06:00
dahall 316f96cd24 Added missing file attributes to FileFlagsAndAttributes and added FileShare enum with FILE_SHARE_* values. 2022-08-05 14:54:53 -06:00
dahall f59303a943 Added Vanara.PInvoke.WinSCard assembly 2022-08-01 19:16:01 -06:00
dahall 60a46e440b More HttpApi overloads 2022-07-30 17:54:18 -06:00
dahall a3ad8a9849 Added HttpApi helper funcs 2022-07-30 13:46:20 -06:00
dahall d9a99ef54f Added properties for SOCKADDR_IN6 and IN6_ADDR to determine address types. 2022-07-30 13:14:43 -06:00
dahall 5458ad4feb More work on httpapi 2022-07-29 18:52:42 -06:00
dahall ed3f5d8a69 Fixed bugs in HTTP_DATA_CHUNK 2022-07-29 17:11:43 -06:00
dahall cf6b72ddf6 Work on HTTP_DATA_CHUNK 2022-07-29 15:07:57 -06:00
dahall 6f44f96edc More work on HTTP_REQUEST 2022-07-29 13:29:00 -06:00
dahall b80487abef Work on HTTP_REQUEST 2022-07-29 12:56:43 -06:00