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