Commit Graph

23 Commits (539188be976d249d4c46b7d59596f67fe1d6f476)

Author SHA1 Message Date
dahall c80f9b6c00 Fixed param types on ReadFile/WriteFile overloads 2022-07-20 10:58:59 -06:00
dahall bf8ad0ac35 Added ReadFile and WriteFile overloads for NativeOverlap 2022-07-20 09:52:20 -06:00
dahall 18bce70ded Added new Win11 methods from Kernel32 and KernelBase 2021-10-25 17:28:58 -06:00
dahall 5132c0249b Changed HFILE to implement ISyncHandle 2021-08-25 12:03:23 -06:00
dahall e0462e6adf Added optional parameter overloads for SetFilePointer, SetFilePointerEx 2021-04-05 20:03:42 -06:00
dahall 034b6793e6 Changed INVALID_SET_FILE_POINTER a UInt32 to match SetFilePointer output type. Changed unsafe overload of ReadFIle to have all pointer params. Added SetFilePointer overload taking uint values as params. 2021-03-06 18:53:34 -07:00
dahall 2d538b6cf7 Replaced GetLogicalDriveStrings with overloaded methods not using StringBuilder. 2021-02-18 14:24:03 -07:00
dahall f9e5ae6a68 Added GetVolumePathNamesForVolumeName overload 2021-01-19 11:17:57 -07:00
David Hall 45ea5993c6 Added create/open flags to CreationOption enum 2019-08-22 13:57:51 -06:00
David Hall ff905a3c01 Completed unit testing, fixes and code reorganization for fileapi.h and winbase.h file functions. 2019-07-25 12:10:04 -06:00
David Hall 724164ceee Reorganized function placement in multiple files for easier retrieval. Finished unit tests and fixes for winbase.h random functions. 2019-07-23 21:18:23 -06:00
David Hall c07f56ebbb Added some Optional attributes 2019-06-22 14:16:25 -06:00
David Hall 36c5b82f91 Updated and fixed file functions in Kernel32. Changed WIN32_FIND_DATA back to a structure and corrected IShellLinkW reference. Added EnumFilesEx and EnumVolumes to simplify related functions. Fixed search handles so they dispose without error. Changed GetFullPathName, GetLongPathName and GetShortPathName to exclusively use the Unicode instance to avoid filename length restrictions. 2019-06-16 15:07:59 -06:00
David Hall f1085cd3a5 Change SafeHandle derived base class HANDLE to SafeHANDLE. Yes, bonehead move to not do this correctly from the beginning. 2019-02-04 09:51:08 -07:00
David Hall 8a1355b0af Updated comments 2018-11-28 12:33:55 -07:00
David Hall 627c6d2314 2.0 Checkin - Buildable 2018-10-26 12:24:07 -06:00
David Hall 138accc380 MAJOR BREAKING CHANGES: Fundamentally changed how HANDLEs are represented and used. Much better type safety now that all handles derive from HANDLE and disposing instances are all noted by a SafeHxxx name. Solves problem with circular references and random IntPtr parameters. 2018-09-21 22:35:34 -06:00
David Hall f6ec55bb20 Added file disposition constants 2018-07-26 21:11:55 -06:00
David Hall 214ca4bb5f Minor fixes related to Kernel32 build 2018-05-29 17:49:10 -06:00
David Hall 5d907ff3a3 100's of new methods to Kernel32 2018-05-13 21:41:49 -06:00
David Hall a30f82d282 Lots of assembly refactoring: split PInvoke.User32 so GDI functions are in separate assembly, moved system classes from Vanara.UI to Vanara.System, split off shell classes to Vanara.Windows.Shell 2017-12-12 18:41:40 -07:00
David Hall 9c39eec5f9 * Changed projects to v1.0.3
* Fixed DllImport attributes to match native methods
* Added Crypt32 and Mpr projects
2017-12-06 08:54:01 -07:00
David Hall da627dad2e Initial load: Extra libraries and unit tests 2017-11-27 11:11:20 -07:00