dahall
fb5f44738e
Updated project files for 3.3.5
2021-03-01 15:07:01 -07:00
Matt Haynie
63f7a1d201
Create WinBase.File.cs ( #213 )
...
MAX_PATH is not a hard limit on the maximum length of a file path. Using Windows 10, I have a file path that is ~378 chars long, and an exception is thrown in the local method AddCap because the code attempts to increase the size of the StringBuilder beyond the 261 chars that was specified in the constructor. This change just removes the hard upper limit cap on that length.
2021-02-28 18:57:02 -07:00
dahall
d7eeb1ca06
Usability updates to CldApi functions.
2021-02-24 14:25:56 -07:00
dahall
b6f76552ca
Fixed ambiguity with changes to PostQueuedCompletionStatus
2021-02-18 17:36:09 -07:00
dahall
7ce8ade62d
Added over 100 new structures supporting control codes and DeviceIoControl
2021-02-18 15:34:42 -07:00
dahall
4a4184ab87
Added COMPRESSION_FORMAT enum
2021-02-18 14:26:23 -07:00
dahall
a90a8d2687
Added non-opaque SID structure
2021-02-18 14:25:48 -07:00
dahall
b151b82e06
Added parameter attributes and DeviceIoControl overload that takes no input or output params.
2021-02-18 14:25:21 -07:00
dahall
2d538b6cf7
Replaced GetLogicalDriveStrings with overloaded methods not using StringBuilder.
2021-02-18 14:24:03 -07:00
dahall
87664c5f97
Added AnySizeStringMarshaler<T> which is an IVanaraMarshaler implementation to handle structures where the last field is a single character string array. Also added ability to use "*" as field name to indicate that string or array length should be determined by the amount of allocated memory.
2021-02-18 14:22:59 -07:00
dahall
f13930bd63
Added Vanara.PInvoke.RstrtMgr project/assembly with Restart Manager functions. 100% complete.
2021-02-11 15:39:40 -07:00
dahall
fa63350031
Updated project files for 3.3.4
2021-02-11 13:33:26 -07:00
dahall
07561a1419
Added CoClassAttribute to IContextCallback
2021-02-09 09:18:31 -07:00
NN
f45861e1e1
Add ContextSwitcher and other IIDs. Fix IContextCallback. ( #211 )
...
Co-authored-by: Konstantin Sharon <NN---@users.noreply.github.com>
2021-02-09 07:46:25 -07:00
dahall
bf1cbcf3ca
Improved parameter attributes and overloads for CreateWindowEx and GetClassInfoEx
2021-02-08 15:33:07 -07:00
dahall
03cb7bdda6
Fixed issues with BasicMessageWindow that caused creation failures and WndProc call failures.
2021-02-08 15:31:59 -07:00
dahall
6c4a37655b
Added `WindowClass` to ensupsulate information about a window class.
2021-02-08 15:30:54 -07:00
dahall
6d7fd73bba
Added IContextCallback ( #209 )
2021-02-08 09:19:12 -07:00
dahall
c2c75a461e
Updated project files for 3.3.3 release
2021-02-03 14:49:55 -07:00
dahall
d1e856c448
Added MiniDumpWriteDump overload and fixed test (thanks @NN)
2021-02-03 14:49:31 -07:00
dahall
c57e42274d
Fixed missing XML build warnings
2021-02-03 13:59:26 -07:00
dahall
978f339457
Changed DbgHelp to have Version dependency and moved all types to correct files based on header name
2021-02-03 13:57:49 -07:00
dahall
c6ef5c216b
Added Vanara.PInvoke.Version project will all functions
2021-02-03 13:56:25 -07:00
dahall
302e0af192
Moved VerRsrc structures and enum to new Version assembly
2021-02-03 12:33:40 -07:00
dahall
5d33dc9a44
Fixed access problem in minidump
2021-02-03 08:59:07 -07:00
dahall
9464dbd4fa
Added `MiniDumpWriteDump` and supporting structs #204
2021-02-03 08:41:28 -07:00
dahall
2a38e34ae5
Added missing XML documentation
2021-02-01 16:26:16 -07:00
dahall
967389e246
Removed all calls to `Marshal.ReleaseComObject` where there exists a possibility that the interface could have been referenced by another object and changed to nulling the holding variable. See discussion thread #188 .
2021-02-01 16:08:43 -07:00
dahall
4ad9cc77e2
Updated project files with 3.3.3 info
2021-02-01 13:23:54 -07:00
dahall
72e792928f
Fixed XML comment problems
2021-02-01 09:08:31 -07:00
dahall
51ff0fc1a8
Completed work for WSMan, including enhanced definitions for the IWSMan set of interfaces.
2021-01-31 20:26:21 -07:00
dahall
eaeb31a11d
Added missing ReportIScsiTargetPortals function
2021-01-30 15:25:41 -07:00
dahall
77138c965b
Fixed layout problem with MIB_UDP6ROW_OWNER_MODULE ( #189 )
2021-01-30 10:26:50 -07:00
dahall
9ee04bca80
Completed all functions for SetupAPI
2021-01-30 09:25:37 -07:00
dahall
06a42c155c
Reverted HBITMAP.ToBitmap() extension to just call Image.FromHBITMAP to avoid flipping until addressed ( #202 )
2021-01-29 14:47:34 -07:00
dahall
a6d225b6b8
Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error ( #200 )
2021-01-26 07:49:48 -07:00
dahall
2be07af49a
Fixes to NtQueryInformationProcess to compensate for bitness issues between processes. #123
2021-01-25 17:04:16 -07:00
dahall
adc4a814b2
Added addition PROCESSINFOCLASS values from ProcessHacker and PInvoke.net
2021-01-25 12:12:41 -07:00
dahall
5ba1e9d7b5
Added UNICODE_STRING.ToString(HPROCESS hProc) method
2021-01-25 12:11:56 -07:00
dahall
adf48e9d4f
Added CreateWindowEx overload taking IntPtr for class name
2021-01-24 18:58:58 -07:00
dahall
3109a2ebbf
Fixed disposal bug in BasicMessageWindow
2021-01-24 18:58:16 -07:00
dahall
93efa5648e
Added `Macros.MAKEINTATOM` function
2021-01-24 18:57:43 -07:00
dahall
aff898c849
Changed Win32Error.GetLastError to use function from Kernel32 instead of Marshal.GetLastError to improve speed.
2021-01-24 18:55:49 -07:00
dahall
4a55c16fee
Update project files for release
2021-01-21 10:17:30 -07:00
dahall
def1172b25
Added more SetupAPI functions
2021-01-21 09:54:15 -07:00
dahall
f9edfeefc1
Finished work with some helper methods on IScsiDsc
2021-01-20 13:56:42 -07:00
dahall
43cf044f87
Updated project files
2021-01-19 19:36:32 -07:00
dahall
51e1dfe133
Added IScsiDsc library
2021-01-19 11:18:23 -07:00
dahall
f9e5ae6a68
Added GetVolumePathNamesForVolumeName overload
2021-01-19 11:17:57 -07:00
dahall
bee8b44bbc
Added details for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
2021-01-15 13:37:38 -07:00
dahall
582811517b
Added VOLUME_DISK_EXTENTS
2021-01-15 13:37:15 -07:00
dahall
2aa0834de5
More work on SetupAPI
2021-01-14 20:24:17 -07:00
dahall
9609ce7eee
Extended and improved object GetValue(this REG_VALUE_TYPE value) method
2021-01-14 20:23:30 -07:00
dahall
583a0a9f93
Updated project files
2021-01-14 12:02:00 -07:00
dahall
0e22e0f9b4
Added more functions and unit test for WsmSvc
2021-01-11 18:46:28 -07:00
dahall
4a63607d26
Updated project files
2021-01-11 15:30:51 -07:00
dahall
186870006a
Added Vanara.PInvoke.WsmSvc assembly ( #194 ) with a portion of the functions.
2021-01-11 15:30:19 -07:00
dahall
d92b34e446
Added const property key and Guid values for use by SetupAPI
2021-01-11 11:24:19 -07:00
dahall
9345674ebc
Moved PDCAP enum from PowrProf to Shared and added a few other enums and structure to Shared.Wdm.cs from that header file.
2021-01-11 11:20:54 -07:00
dahall
1ae5a59faa
Added Vanara.PInvoke.SHCore assembly with all functions ( #193 )
2021-01-11 11:17:40 -07:00
dahall
0d732be421
Added StructHelper.InitWithSize to simplify the many structures that have to be initialized with their size.
2021-01-11 11:16:52 -07:00
dahall
e23d7d2220
Moved DEVICE_SCALE_FACTOR from Shell32 to Shared
2021-01-11 11:16:06 -07:00
dahall
608e0f7d53
Updated project information
2021-01-05 21:55:12 -07:00
dahall
a1bed07eac
Completed SetupAPI device functions
2021-01-05 21:54:42 -07:00
dahall
5c040e7fd4
Renamed SafeMSIHANDLE to PMSIHANDLE and finished all methods for msi.dll
2021-01-03 14:31:34 -07:00
dahall
8c203d399d
Msi and SetupAPI check-in, buildable
2021-01-02 18:42:02 -07:00
dahall
a8730903e3
More SendMessage work
2021-01-01 15:05:32 -07:00
dahall
eefe24a771
Moved HOTKEYF from ComCtrl32 to User32 to align with WM_GETHOTKEY location
2021-01-01 15:03:01 -07:00
dahall
9b5d6942e7
Finally added XML docs to all items in ComCtl32.
2021-01-01 15:02:15 -07:00
dahall
6dc8b6a749
Updated SendMessage dependencies in ListView code
2020-12-31 20:46:27 -07:00
dahall
4e44329587
Added owner-draw structures and enum to User32.
2020-12-31 20:14:04 -07:00
dahall
1ef28a890a
POTENTIALLY BREAKING CHANGE: Revamped SendMessage overloads to reduce accidential use of wrong overload. Most uses still work except passing a class in as lParam.
2020-12-31 20:13:35 -07:00
dahall
feba58dafb
Added new SendMessage overload for WM_GETTEXT use case ( #191 ).
2020-12-31 10:50:54 -07:00
dahall
06027d381a
Updated project files
2020-12-30 21:01:44 -07:00
dahall
16ce539b33
Added Msi (partial), NewDev (complete) and SetupAPI (partial) assemblies
2020-12-30 20:48:39 -07:00
dahall
9212f849c9
Moved OLE types CY, DECIMAL and DATE up to Shared assembly.
2020-12-29 14:59:20 -07:00
dahall
de62a4d6bd
Added IArrayStruct<byte> inheritance for DRT_DATA
2020-12-28 15:18:35 -07:00
dahall
8eb8b174a1
Added explicit conversion from SOCKADDR_STORAGE to SOCKADDR_IN and SOCKADDR_IN6
2020-12-28 15:17:47 -07:00
dahall
7704160b1e
Fixed Int32/UInt32 mismatch on OFN
2020-12-28 13:28:08 -07:00
dahall
f4a3b97063
Changed allocated string fields in ComDlg32 to StrPtrAuto rather than String.
2020-12-27 20:40:08 -07:00
dahall
3ad427a190
Updated project files
2020-12-27 18:29:25 -07:00
dahall
f489e1ca89
Fixed methods in Shell32 (SHGetFolderLocation, SHGetFolderPath, SHGetFolderPathAndSubDir) that should use CSIDL enum but didn't. Fixed dependencies.
2020-12-27 17:32:52 -07:00
dahall
f8e8e6f545
Changed IDropTarget methods to use MouseButtonState param value instead of uint. Fixed dependencies.
2020-12-27 17:31:40 -07:00
dahall
f0fd3f0334
Moved MouseButtonState from User32 to Shared assembly and up to PInvoke namespace. Fixed dependencies.
2020-12-27 17:30:06 -07:00
dahall
2066523bd0
BREAKING CHANGE: Changed AppendMenu param from UIntPtr to IntPtr for easier conversion from HMENU and int command ids. Change MENUINFO.dwMenuData to IntPtr for easier conversions.
2020-12-27 16:51:46 -07:00
dahall
c1c20171e7
Added IDC_ cursor resource id constants
2020-12-27 16:50:05 -07:00
dahall
777e163e35
Updated project information
2020-12-27 09:28:14 -07:00
dahall
f526adbdf6
Doc fixes
2020-12-26 20:34:36 -07:00
dahall
4307eaa01a
Added CW_USEDEFAULT constant and fixed return value of CreateWindow function
2020-12-26 16:01:51 -07:00
dahall
a9ed619504
Added constants for static controls (msgs, notifications and styles)
2020-12-26 16:00:55 -07:00
dahall
662c8a18c1
Added IDI_* values for static icons and overloaded LoadIcon function to accept a ResourceId param.
2020-12-26 16:00:25 -07:00
dahall
e576bd40e7
Updated project information
2020-12-26 11:07:30 -07:00
dahall
966c91c1d3
Completed work on OleDlg
2020-12-26 10:22:22 -07:00
dahall
f57fa2af7f
Fixed incorrect import attribute
2020-12-26 10:19:51 -07:00
dahall
ee3fb03825
Fixed XML comments
2020-12-26 10:19:34 -07:00
dahall
9067493f09
Completed work on ComDlg32
2020-12-25 20:41:41 -07:00
dahall
96ab21f382
Added param to SystemEventHandler constructor to force creation of the message pump in a thread and a PreprocessMessage method that pre-processes messages in the pump.
2020-12-25 20:41:20 -07:00
dahall
4c85c898ce
Added constructor for MSG struct
2020-12-25 20:40:00 -07:00
dahall
cabf86396c
Removed Security.PermissionSetAttribute from all classes, properties and methods. It is now marked Obsolete.
2020-12-24 13:07:32 -07:00
dahall
d119c5adbd
Updated project information
2020-12-24 11:00:18 -07:00