Commit Graph

1990 Commits (ff50c4a4c9b25abd88cf8a4a47f92c56e0fd4a94)

Author SHA1 Message Date
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
dahall 7bfcb63966 More work on httpapi 2022-07-29 11:03:41 -06:00
dahall 8213ebac3a Fixed handle versions and types 2022-07-29 07:17:04 -06:00
dahall 8dff6d9feb Added Vanara.PInvoke.HttpApi assembly 2022-07-28 22:20:19 -06:00
dahall 34bed8cfb4 Cleaned handle classes 2022-07-28 22:19:53 -06:00
dahall ad68923132 Another addition to DNS_ADDR_ARRAY.ctor 2022-07-26 17:15:54 -06:00
dahall 8162d0923d Added helper ctos to DNS_ADDR_ARRAY, DNS_QUERY_REQUEST, DNS_QUERY_RESULT and IP4_ARRAY. Added DNS_QUERY_REQUEST3 and DnsQueryEx overloads for it. 2022-07-26 17:04:05 -06:00
dahall 93cc820db4 Fixed entrypoint #308 2022-07-26 07:23:27 -06:00
dahall 2f98621983 Added support for BITS peer caching 2022-07-25 14:09:39 -06:00
dahall 294b956f83 Added missing winhttp.h constants 2022-07-25 08:53:24 -06:00
dahall 666392b2e5 Changed OBJECTS_AND_SID.pSid to PSID type and cleaned AccCtrl.cs 2022-07-22 07:41:49 -06:00
dahall a16440036f Removed Pack=4 from TRUSTEE struct per #307. It breaks on 64-bit builds. Default is sufficient for both 32 and 64-bit. 2022-07-22 07:34:26 -06:00
dahall 215a87460c Added overloads to WinHttpReadData, WinHttpReadDataEx and WinHttpWriteData accepted byte[] 2022-07-21 17:38:15 -06:00
dahall 677081358a Refactored base handle structures into templates 2022-07-21 09:20:46 -06:00
dahall 660215dc19 Moved Shared\Handles.cs to Shared\Handles\IHandle.cs in prep for refactoring 2022-07-20 19:35:31 -06:00
dahall 0467cde74e Added ! operator to SafeHANDLE and cleaned Handles.cs 2022-07-20 19:32:12 -06:00
dahall c80f9b6c00 Fixed param types on ReadFile/WriteFile overloads 2022-07-20 10:58:59 -06:00
dahall c2c24d49a2 In WinINet, added InternetReadFile overload and InternetCookieHistory and INTERNET_ASYNC_RESULT structures 2022-07-20 09:54:05 -06:00
dahall bf8ad0ac35 Added ReadFile and WriteFile overloads for NativeOverlap 2022-07-20 09:52:20 -06:00
dahall e97896fda6 Updated project files 2022-07-16 19:30:05 -06:00
dahall bfdab66b6f Added CryptCATAdminAddCatalog to simplify use. 2022-07-16 18:18:02 -06:00
dahall cbf9f680b7 Added values from SoftPub.h 2022-07-16 16:23:43 -06:00
dahall a8e444e5e6 Added missing enums from wintrust.h 2022-07-16 16:23:25 -06:00
dahall fb7814ee81 Added SignOID with missing szOID values from wincrypt.h 2022-07-16 16:22:39 -06:00
dahall 3f5ca52763 Add CERT_INFO_CHOICE and changed CERT_STRONG_SIGN_PARA to use it 2022-07-16 16:14:30 -06:00
dahall 06fccc6d7a Added CMSG_SIGNER_INFO 2022-07-16 16:05:05 -06:00
dahall 4c4657f0ab Fixed overloads for HttpQueryInfo 2022-07-16 08:27:54 -06:00
dahall 20bd7a40e1 More XML doc fixes 2022-07-14 21:09:25 -06:00
dahall 626991b382 WinInet: Added missing HTTP_QUERY and HTTP_STATUS values, added overloads for HttpQueryInfo that don't require lpdwIndex param, fixed string handling bug in InternetSetOption. 2022-07-14 20:54:33 -06:00
dahall 6354cea63b Fixed bug in Uri_PROPERTY commit 2022-07-14 20:52:28 -06:00
dahall 775ed816d0 Fixed bad XML docs 2022-07-14 20:52:05 -06:00
dahall bfc56ff07b Rearranged order of fields in Uri_PROPERTY enum for better visibility 2022-07-14 19:12:14 -06:00
dahall cdc3005c36 Fixed bug #304 in ChangeServiceConfig parameter lpDependencies 2022-07-13 16:13:10 -06:00
Scover 8ef5c1646a
Added an enumeration for CommDlgExtendedError return values (#303)
* Added an enumeration for `CommDlgExtendedError` return values
* Fixed missing semicolon and whitespace
2022-07-13 07:35:00 -06:00
dahall c46802165d Fixed size problems with IP_ADAPTER INFO and IP_ADDR_STRING 2022-07-12 15:33:58 -06:00
dahall 4814bc0956 Fixed `IP_ADDR_STRING` to use `IP_ADDRESS_STRING` fields 2022-07-12 12:38:41 -06:00
dahall 1371f43092 Updated package description for Ws2_32 2022-07-11 15:52:57 -06:00
dahall e84d1d269c Fixed bugs related to WSRESULT conversion 2022-07-11 15:50:58 -06:00
dahall 7791d773e4 Introduced `WSRESULT` as standard error for all WinSock functions -- similar to NTStatus 2022-07-11 10:42:39 -06:00
dahall ea1c63e76e Converted winsock return values to SocketError 2022-07-10 20:41:21 -06:00
dahall 78cabaa31f Separated WSA code into multiple files, changed return codes to SocketError (from .NET core libs) and added error handling functions. 2022-07-10 17:30:38 -06:00
dahall 51bd754440 Cleaned Win32Error and fixed some docs 2022-07-10 17:29:30 -06:00
dahall dba346c0d0 BREAKING CHANGE: Removed winsock errors from Win32Error (incorrect fit). 2022-07-10 17:21:25 -06:00
dahall a4e391a5d3 Changed return values of some functions in ws2tcpip.cs to `int` when `Win32Error` was incorrect. 2022-07-06 18:22:32 -06:00
dahall 35936cb6ba Added missing constants to WSAEVENT 2022-07-06 18:21:46 -06:00
dahall 6fc117bedc LOTS OF BREAKING CHANGES TO WSA functions in Ws2_32: Changed return values of most functions to `int` instead of incorrect `Win32Error` 2022-07-06 18:21:14 -06:00
dahall c50c0bc686 Fixed incorrect type of SOCKET_ERROR (should be int) 2022-07-06 18:19:34 -06:00
dahall 350b2ec3a3 Moved IPPROTO to ws2def.cs from Winsock2.cs, added WSACHSGHDR and associate macros. 2022-07-06 18:19:05 -06:00
dahall 454ddaca60 Added a few items from mswsock.h 2022-07-06 18:17:21 -06:00
dahall 381e542883 Derived WSAEVENT from ISyncHandle 2022-07-05 20:22:34 -06:00
dahall 439477343b Added missing structures from ws2ipdef.h 2022-07-05 20:21:57 -06:00
dahall 46f90a2818 Added WSAIoctl<TIn, TOut> generic overload and ISyncHandle to WSAEVENT 2022-07-05 20:20:41 -06:00
dahall db6b4cecbc Added setsockopt generic overload 2022-07-05 20:19:30 -06:00
dahall 07e2e1ddfb Added SOCKADDR_IN6 to SOCKADDR conversion 2022-07-05 20:18:52 -06:00
dahall f1140f553b Fixed bug in DeviceIoControl<TIn, TOut> 2022-07-05 20:17:28 -06:00
dahall b2133401d9 Fixed incorrectly hidden IP_ADAPTER_ADDRESSES.Ipv6IfIndex value 2022-07-05 20:16:55 -06:00
dahall a2abe7a262 Added simplified overloads for WSAStringToAddress and WSAAddressToString 2022-07-05 14:26:33 -06:00
dahall 1c707725f2 Added SOCKADDR_INET operator to SOCKADDR 2022-07-05 14:26:00 -06:00
dahall a4a8d936e8 Added conversion operators to SOCKADDR_STORAGE with SOCKADDR_INET 2022-07-05 14:25:00 -06:00
dahall 99479b1f27 Added overloads for LsaAddAccountRights and LsaRemoveAccountRights and optimized marshaling code 2022-07-05 09:44:38 -06:00
dahall 7f9da3440c Added overload for ResetEvent and SetEvent with HEVENT param. 2022-06-30 09:11:35 -06:00
dahall 027a8ce228 Fixed trimming error for type converters 2022-06-28 16:02:50 -06:00
dahall 556798672b Fixed ambiguous references in docs 2022-06-28 16:02:29 -06:00
dahall b2cc426dc3 Fixed bug in EnumFileStreams 2022-06-28 15:21:57 -06:00
dahall 5bf2fce31e Added IErrorProvider as equatable for HRESULT 2022-06-28 15:04:13 -06:00
dahall 47b609765d Fixed WIN32_FIND_STREAM_DATA to expose cStreamName 2022-06-28 14:56:10 -06:00
dahall 298ea34914 Updated package readme files 2022-06-14 16:55:29 -06:00
dahall 06d52c2571 Added IStream load and save methods to Shell32.PIDL 2022-06-14 13:45:05 -06:00
dahall 902ccfeeeb Fixed parameters of functions in INamespaceWalk 2022-06-14 10:00:51 -06:00
dahall dec0bb3cc0 Added more helper functions for working with StringBuffer related methods. 2022-06-09 22:33:11 -06:00
dahall df762019f2 Added ICategoryProvider::CreateCategory overload 2022-06-08 22:49:12 -06:00
dahall 3913abc7a0 Fixed IPersistFolder3::InitializeEx syntax (#301) 2022-06-08 07:10:29 -06:00
dahall 623b02048c In Pinvoke.Crypt32, fixed PFN_CRYPT_ENUM_KEYID_PROP, BlobType, CryptEnumKeyIdentifierProperties, and PUBLICKEYSTRUC (#300) 2022-05-29 21:39:43 -06:00
dahall 1e2faf61a0 Added provider constants to AdvApi32.WinCrypt (PInvoke.Security) and fixed CryptEnumProviders, CryptEnumProviderTypes, and CryptExportKey (#300) 2022-05-29 21:38:12 -06:00
dahall da7a4c30d9 Changed marshaling instructions on PR #299 to LPStr rather than LPTStr since they always have to be ANSI strings. 2022-05-27 16:24:38 -06:00
dahall 65be0130e3 Added values from dpfilter.h and overloaded DbgPrint functions to NTDll (#299) 2022-05-27 16:21:18 -06:00
Ryan Richardson d556e79f69
Adding DbgPrint and DbgPrintEx to Wdm (#299)
* Adding DbgPrint and DbgPrintEx Functions to NtDll.Wdm.cs
2022-05-27 15:33:27 -06:00
dahall ec712439e4 Added app management and storage provider interfaces to Shell32 2022-05-20 12:59:59 -06:00
dahall e3de6cafaa Updated project files 2022-05-13 09:59:22 -06:00
dahall 38fe3335f3 Added interfaces from imagetranscode.h and inputpanelconfiguration to PInvoke.Shell 2022-05-12 15:41:04 -06:00
dahall e79edfe6e9 Added logging interfaces from txlogpub.h to PInvoke.Ole 2022-05-11 07:26:25 -06:00
dahall 71a1feb40c Added ARRAYDESC and PARAMDESCEX structures to Ole 2022-05-11 07:25:46 -06:00
dahall 72b9403f0c Added IOleLink and supporting enums 2022-05-11 07:24:56 -06:00
dahall f1b841d005 Fixed marshaling attributes for STGOPTIONS and COSERVERINFO 2022-05-11 07:24:16 -06:00
dahall aa69db53fd Updated documentation and added package readme files. 2022-05-09 15:56:58 -06:00
dahall 02b111d63f Fixed incorrect CorrespondingAction on User32.SPI.SPI_SETTHREADLOCALINPUTSETTINGS (#298) 2022-05-05 07:38:24 -06:00
dahall 214fd313ba Updated project files 2022-05-04 17:25:17 -06:00
dahall a517d536a3 Reworked all structures in IpHlpApi assembly to ensure size compatibility. (#296) 2022-05-04 15:35:49 -06:00
dahall 92e7ca7365 Fixed #297 - Incorrect value for `Ws2_32.IN6_ADDR.Loopback` 2022-05-04 11:22:32 -06:00
dahall fb607a799e Fixed #296 - invalid `MIB_UDP6ROW_OWNER_PID.dwOwningPid` value when calling `GetExtendedUdpTable` 2022-05-04 10:59:33 -06:00
dahall 0edde0e5a2 Fixed bug #294 -- problem with SYMBOL_INFO and SymEnumSymbols not showing Name field correctly. Had to change PSYM_ENUMERATESYMBOLS_CALLBACK (breaking change). Added new SymEnumSymbolsEx overload to do the hard work. 2022-05-03 19:31:09 -06:00
dahall 013ee74453 Updates to hopefully fix PInvoke.Shared load problems 2022-04-22 13:24:51 -06:00
dahall 76722fbcf5 Fixed flags in MONITORINFOEX (#293) 2022-04-19 14:25:15 -06:00
dahall 3bba0bf3da Added Vanara.PInvoke.SensorsApi 2022-04-16 10:37:56 -06:00
dahall 3b7a31aaea Fixed conditional binding to Registry in Vanara.PInvoke.Shared 2022-04-16 10:37:31 -06:00
dahall fab55c3d14 VirtDisk: Added CREATE_VIRTUAL_DISK_PARAMETERS.ctor, RAW_SCSI_VIRTUAL_DISK_PARAMETERS.ctor and enhanced OPEN_VIRTUAL_DISK_PARAMETERS.ctor for platform adherance. 2022-04-11 15:42:08 -06:00
dahall 47c6e623fb Improved error handline in DeviceIoControl<TOut> 2022-04-10 22:36:38 -06:00
dahall 575e427750 Fixed bug with DRIVE_LAYOUT_INFORMATION_EX 2022-04-10 22:35:40 -06:00
dahall c5ec936545 Updated VirtDisk with new constants from SDK 2022-04-10 08:25:32 -06:00
dahall 4a718b12df Fixed recursive bug in WinNTExtensions.IsValidSecurityDescriptor 2022-03-25 10:09:00 -06:00
dahall 0ec8736cd8 Rearranged file placement of elements from NtDll as part of exploring #289 2022-03-25 10:08:19 -06:00
dahall 00a8b17864 Merge branch 'master' of https://github.com/dahall/Vanara 2022-03-16 09:42:09 -06:00
dahall 03701986c2 Moved RGBQUAD from Gdi32 to Shared. 2022-03-16 09:41:48 -06:00
Shiroki Satsuki 725128edb7
SPCorrespondingTypeAttribute refactor (#288)
* Add enum SetMethod for SPI type

* Changed Get SPIs

* Changed direct Set SPIs

* Changed most Set SPIs

* Fix some SPCorrespondingType

* Remove wrong UiParamAndSize

* Refactor SetMethod to SetParameterMethod

* Refactor SystemParametersInfo<T>
2022-03-16 09:10:10 -06:00
dahall caee9eba3a Updated readme 2022-03-14 13:39:05 -06:00
dahall 2b4f3bd1b2 Updated project files 2022-03-14 13:26:43 -06:00
dahall dc6cea6de0 Moved most TargetFrameworks tags out of project files and into Directory.Build.props for easier maint. Also changed net462 build to net45 for greater compatibility. 2022-03-14 09:32:06 -06:00
dahall 6ee30c5fca Fixed all the window messages broken when I fixed them the last time. Doh. 2022-03-12 09:11:39 -07:00
dahall 9e57ba3a14 Fixed bug with VirtDisk.GetStorageDependencyInformation and implemented VirtualDisk.GetStorageDependencyInformation() and VirtualDisk.DangerousGetHandle() 2022-03-11 18:07:36 -07:00
dahall a0b39b5416 Updated docs and added missing constants to ComCtl32 2022-03-11 09:17:47 -07:00
dahall 46c3324ade Made some optimizing changes to PInvoke.VirtDisk and added VirtualDisk.SetParentPath and SetParentPathWithDepth methods. 2022-03-10 21:59:26 -07:00
dahall fe1b9c24e7 Fixed multiple problems with SystemParametersInfo and SPI values (#283). Overload methods now are tested against all SPI values. 2022-03-10 17:47:48 -07:00
dahall 5dd849eeed Fixed XML docs 2022-03-10 17:46:12 -07:00
dahall 913d1f61d1 Added HWND.HWND_BROADCAST constant 2022-03-10 17:45:42 -07:00
dahall 07f8d19680 Added NMHDR.LParamAsRef method 2022-03-10 17:45:13 -07:00
dahall 093916caae Fixed bug in Win32Error.ThrowLastErrorIf method that would exception if error was success. 2022-03-10 17:44:40 -07:00
dahall 1a4c56c12c Updated docs for all window messsages and notifications 2022-03-07 06:16:36 -07:00
dahall 807516de29 Updated documentation for all WM_* messages. 2022-03-04 20:09:11 -07:00
dahall c2cdf92620 Added missing hook constants from winuser.h 2022-03-02 15:06:24 -07:00
dahall 5af855aeb2 Added helper functions to WINDOWPOS to help when using it with LPARAM values. 2022-03-02 15:05:34 -07:00
dahall a1df4c77a8 Added ABN and ABS enums to ShellApi 2022-03-01 13:09:35 -07:00
dahall a78b280178 Added further XML docs to Shell32.ABM 2022-03-01 11:06:03 -07:00
NN 95328a6fd0
Lower System.ValueTuple version dependency. (#280) 2022-02-28 11:54:43 -07:00
dahall f12deb2ec2 Updated WinHTTP for usability 2022-02-28 07:45:08 -07:00
dahall 459e14f224 Fixed WINHTTP_CURRENT_USER_IE_PROXY_CONFIG so it exposed pointers which can be freed. 2022-02-27 14:46:01 -07:00
dahall d38a1d955e PR 2022-02-25 12:08:43 -07:00
NN 83f899a665
Correct alignment for WTSINFO and WTSINFOEX. (#279)
Thanks for your replies. I'm convinced. I'll merge. Thanks for your input and contributions.
2022-02-25 11:13:16 -07:00
dahall 56606c032a Fixed incorrect struct layout for WTSINFO (#278) 2022-02-24 15:57:43 -07:00
dahall 667ab7cdad Updated project files 2022-02-23 11:55:19 -07:00
dahall a94476f5d1 Added WinHTTP assembly 2022-02-22 19:41:15 -07:00
dahall 0a7fe3d60e Added `tcp_keepalive` struct to Ws2_32 2022-02-22 19:40:50 -07:00
dahall f7f5bb07ee Fixed SecPkgContext_IssuerListInfoEx size and added extraction property 2022-02-22 19:40:09 -07:00
dahall bc5693900c Added elements from mstcpip.h to Ws2_32 2022-02-15 16:00:51 -07:00
dahall f525d30ba2 Corrected APPBARDATA structure layout to address #276 2022-02-12 11:24:23 -07:00
dahall 57c2216e4c Added Antimalware assembly (AMSI) with supporting unit test and wrapper class in Vanara.SystemServices, AntimalwareScan. 2022-02-10 11:16:09 -07:00
dahall b669932c57 Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00
dahall d9f00186b0 Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8. 2022-02-07 14:35:37 -07:00
dahall edde531d3b Added Usp10 (Uniscribe) assembly. 2022-02-05 15:42:54 -07:00
dahall 1ae596bd92 Added Vanara.PInvoke.Ime32 assembly 2022-01-31 20:53:20 -07:00
dahall e01892ab88 Updated project files and assembly docs 2022-01-23 14:04:24 -07:00
dahall ad56116e87 Lots of work to make using IDataObject and the clipboard more stable and usable. Added Get/Set extension methods for IDataObject. Added attributes to clipboard formats to help reading. Added formatters to process clipboard types. Fixed bugs in ShellDataObject and NativeClipboard. 2022-01-22 15:35:37 -07:00
dahall 90831ea16f Changed SafeMoveableHGlobalHandle.ctor(IntPtr...) method to not accept size and rather extract it using GlobalSize 2022-01-22 15:31:55 -07:00
dahall 0b3ac8d87a Prevented #269 by addeding documentation and removing [Optional] attribute on final param for SHChangeNotify. 2022-01-18 06:28:50 -07:00
dahall c3078b052b Updated project files with 3.4.0 changes 2022-01-17 17:15:18 -07:00
dahall 5f52aa7820 Added SafeMoveableHGlobalHandle class and added support to locking memory to all memory classes. 2022-01-16 17:22:34 -07:00
dahall 03b9c6e9fc Fixed #268 2022-01-15 09:39:37 -07:00
dahall bd707099f8 Merge branch 'master' of https://github.com/dahall/Vanara 2022-01-14 07:33:18 -07:00
dahall 0bb9797e2f BREAKING CHANGES: I have dramatically reduced dependencies of almost all assemblies on .NET runtime assemblies not part of core System assemblies, most specifically System.Drawing and System.Windows.Forms. This forced the removal of some overloaded methods and the replacement of leveraged structures and enums with native equivalents. I added Vanara.Windows.Shell.Common which has all the content from Vanara.WIndows.Shell that did not have dependencies. I extracted all extension methods from Gdi32 and User32 and moved them to Vanara.Windows.Extensions. 2022-01-14 07:32:51 -07:00
dahall 62326772d4 Moved WinForms extension from Gdi32 to new Windows.Extensions project 2022-01-13 12:15:07 -07:00
dahall 656c6d2b02 More tweaks to allow for Shell.Common and Shell.Windows to work along with unit tests 2022-01-11 18:13:44 -07:00
dahall 65f846483d Removed as many references to System.Drawing as possible 2022-01-06 18:15:15 -07:00
dahall 5e108d65fd Change IDropTarget Point parameters to POINT 2022-01-06 15:35:40 -07:00
dahall 34c31238fd Fixed docs for IShellLinkW.GetHotKey 2022-01-06 15:10:22 -07:00
dahall f86a38b113 Applied new lang constructs to CLIPFORMAT 2022-01-06 15:09:53 -07:00
Mark Lechtermann 8ca58cc2c8
TYPEFLAGS changed to uint (#267) 2022-01-06 08:54:05 -07:00
dahall b061162730 Added POINT struct to Vanara.PInvoke and optimized RECT and SIZE structures. 2022-01-05 10:53:54 -07:00
dahall 25feb73e7a Normalized use of ComCtl32, Gdi32, and User32 references in Shell32 2022-01-04 15:30:20 -07:00
dahall 92c8ab945b Updated NuGet packages 2022-01-04 15:28:43 -07:00
dahall 1b3fd2b14b Removed 'windows' platform indicators from TargetFrameworks 2022-01-04 15:27:39 -07:00
dahall e15ee53a0a Removed dependencies on WinForms and WPF for Gdi32 and User32 assemblies. This forced the removal of extension methods to convert HBITMAP and HICON to System.Windows.Media.Imaging.BitmapSource. 2022-01-04 07:27:12 -07:00
dahall fe9fa528cf Removed Gdi32 dependency from Ole project 2021-12-30 13:52:47 -07:00
dahall 87f9f53590 Potentially Breaking Change: Moved TEXTMETRIC, LOGPALLETTE, PALLETTEENTRY, and PC from Gdi32 to Shared project to remove dependencies on Ggi32 by other projects (e.g. Ole). 2021-12-30 13:52:04 -07:00
dahall 7026a893f9 Removed PackageReference details for .NET 5 and 6 projects with System.Drawing.Common. 2021-12-29 10:16:04 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall e0fc40dac4 Updated project files for VSS 2021-12-27 09:30:43 -07:00
dahall 2eddeabf2c More updates and unit tests for VSS (still not ready) 2021-12-27 09:20:57 -07:00
dahall 3863d931a0 Fixed IEnumFromCom change that broke elements without default construtors. 2021-12-27 08:36:41 -07:00
dahall 8807c2c497 Fixed example in XML text 2021-12-27 08:35:51 -07:00
dahall 52af822dfd Fixed #262 and adjusted other functions in ICreateTypeInfo to include enums. 2021-12-26 20:01:14 -07:00
dahall b003cb62c1 Merge branch 'master' of https://github.com/dahall/Vanara 2021-12-20 10:51:23 -07:00
dahall 8a2335ea21 Updated IEnumFromCom to support intialized (new) items so it covers structures and classes. 2021-12-20 10:51:04 -07:00
dahall 1f6085122f Added Shell notify icon messages (#260) 2021-12-20 10:49:58 -07:00
Andre Gleichner 9e9f26d927
Fixing wrong size of IMAGEHLP_MODULE64.ModuleName; see https://docs.microsoft.com/en-us/windows/win32/api/dbghelp/ns-dbghelp-imagehlp_modulew64 (#256) 2021-12-20 09:47:45 -07:00
dahall 1cbfdefb5b Updated project files 2021-12-12 21:19:43 -07:00
dahall ce721c9185 Update documentation and static class names for VSS 2021-12-12 13:35:57 -07:00
dahall 79703bd285 Fixed project and solution so VssApi builds correctly for .NET 5.0 2021-12-12 12:57:23 -07:00
dahall b7e26fcfd7 Moved VssApi (C#) project to new directory and project name of VssApiMgd. Added C++/CLI project for VssApi wrappers named VssApi. 2021-12-12 10:39:49 -07:00
dahall f7620793fc Changed VssApi to VssApiMgd and removed auto package build 2021-12-12 10:24:06 -07:00
dahall db415107d7 Updated documentation 2021-12-12 10:23:13 -07:00
dahall 75a4110f04 Fixeds, updates and additions to VssApi 2021-12-12 10:03:59 -07:00
dahall 012034f883 Removed erroneous add of IBackgroundCopyJob6 2021-12-10 17:30:24 -07:00
dahall fb64311e4d * Changed IBackgroundCopyJob.SetNotifyInterface parameter to IBackgroundCopyCallback instead of Object
* Added new interfaces from v10.1, 10.2 and 10.3: IBackgroundCopyFile6, IBackgroundCopyJobHttpOptions2, IBackgroundCopyJobHttpOptions3, and IBackgroundCopyServerCertificateValidationCallback
2021-12-10 17:18:05 -07:00
dahall cb5aeed8c3 Fixed missing size in HeapAlloc, HeapReAlloc, and SafeHHEAP.GetBlock (#258) 2021-12-10 08:59:45 -07:00
dahall eb338abbc2 Made changes to address #255. Untested. 2021-11-22 07:48:41 -07:00
dahall 2307a2ba7d Added WindowStylesEx.WS_EX_NOREDIRECTIONBITMAP (#254) 2021-11-13 10:21:57 -07:00
dahall 69a790f48c Fixed issue #253 2021-11-11 17:48:43 -07:00
dahall 959355cc09 First pass at fixing bug with `AVICOMPRESSOPTIONS` functions (#253) 2021-11-11 13:28:20 -07:00
dahall 2152ff4bea Added VssApi assembly with all interop ready interfaces and functions. This is only partially viable as some of the methods return pointers to C++ classes which are not accessible in managed code. 2021-11-11 13:03:22 -07:00
dahall 22ec8ba85c Finished fixing AuthzReportSecurityEventFromParams. BREAKING CHANGE: removed SafeAUTHZ_SOURCE_SCHEMA_REGISTRATION as all functionality was possible by marshaling AUTHZ_SOURCE_SCHEMA_REGISTRATION correctly. 2021-11-09 16:13:04 -07:00
dahall 03bd938b7c Work on fixing and enabling Audit log writes using AuthzReportSecurityEvent and AuthzReportSecurityEventFromParams. The prior is now fully working. (#251) 2021-11-09 13:16:27 -07:00
dahall 0cbf6e4041 Added `IStorageProviderCopyHook` per request #252 2021-11-08 11:34:17 -07:00
dahall d758ac35d4 Corrections to 3.3.14 documentation 2021-10-26 07:34:54 -06:00
dahall 34580ccf7f Updated project files for 3.3.14 2021-10-25 21:49:50 -06:00
dahall 3f64f6d9d4 Added new functions from Win11 2021-10-25 18:35:13 -06:00
dahall 18bce70ded Added new Win11 methods from Kernel32 and KernelBase 2021-10-25 17:28:58 -06:00
dahall 53bc6b1adc Added new timestamp functions introduced in Win11. 2021-10-25 12:22:38 -06:00
dahall 510454c5e9 Added new DNS functions introduced in Win11 (DnsGet/SetApplicationSettings) 2021-10-25 11:22:40 -06:00
dahall b4c96c6572 Added OSVersion enum value for Win11 2021-10-25 11:22:22 -06:00
dahall 612f854e74 Added extension methods for lookups and SendCommand 2021-10-24 15:30:43 -06:00
dahall ad55249b81 More fixes and extension methods for WPD 2021-10-21 13:27:10 -06:00
dahall defe982391 Changed Pack attribute on SILO_INFO 2021-10-21 13:25:50 -06:00