Commit Graph

2690 Commits (2f986219834da02ab26511a9113eb520a5e76b74)

Author SHA1 Message Date
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 480f5df595 Added string classes via template 2022-07-20 17:40:09 -06:00
dahall eeb429ebb6 Added ! operator support to SafeAllocatedMemoryHandle and SafeMemoryHandle.Clone() method 2022-07-20 17:36:27 -06:00
dahall 2ce6552190 Enhanced SafeMemString with nullable support and the addition of methods, properties and operators to mimic StringBuilder 2022-07-20 17:35:05 -06:00
dahall 0320c6b7b6 Enabled nullable support for string related classes 2022-07-20 17:33:26 -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 88c8bbbfef Updated version to 3.4.6 2022-07-20 09:53:13 -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 b0d7174d5a Added SafeMemoryPool class to auto dispose temporary pointers. 2022-07-16 17:43:48 -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 5c96415f42 Fixed IpHlpTests based on changes to winsock return values. 2022-07-12 09:27:35 -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