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