Commit Graph

2653 Commits (7791d773e49c65921d6957be10dbac7e97462fab)

Author SHA1 Message Date
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 6446baa084 Updated version to 3.4.5 2022-07-05 14:23:48 -06:00
dahall 4b53445f80 Updated tests for Lsa functions 2022-07-05 09:44:53 -06:00
dahall 99479b1f27 Added overloads for LsaAddAccountRights and LsaRemoveAccountRights and optimized marshaling code 2022-07-05 09:44:38 -06:00
dahall fb9787ec0a Fixed bug in StringHelper.GetByteCount 2022-07-05 09:43:24 -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 500fc4ecc7 Added RequiresUnreferencedCodeAttribute for frameworks other than NET50 and greater. 2022-06-28 16:02:10 -06:00
dahall b2cc426dc3 Fixed bug in EnumFileStreams 2022-06-28 15:21:57 -06:00
dahall eef1ca871e Updated version to 3.4.4 2022-06-28 15:08:14 -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 393ee76ce9 Added BindCtx support for WIN32_FIND_DATA "simple parsing" and optional object parameters. 2022-06-14 09:59:51 -06:00
dahall dec0bb3cc0 Added more helper functions for working with StringBuffer related methods. 2022-06-09 22:33:11 -06:00
dahall a391f0c183 More work on ShellFolderCategorizer 2022-06-09 22:32:26 -06:00
dahall bca4b02b24 Pushed MRUManager base class to Windows.Shell.Common 2022-06-09 22:31:52 -06:00
dahall 3030ea8afb Updated NuGet packages 2022-06-09 22:31:18 -06:00
dahall b452d4b7fe Added Shell.ShellFolderCategorizer class and accessor from ShellFolder to get the "group by" categories associated with a folder. 2022-06-08 22:50: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 eef11ef46e Added unit tests for changes to Crypt functions 2022-05-29 21:40:08 -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
dahall c6bc6003d2 Merge branch 'master' of https://github.com/dahall/Vanara 2022-05-27 15:35:57 -06:00