1053 Commits

Author SHA1 Message Date
Brian Cook 5b1829956e Fix for issue #999. (#1000) 2021-11-06 12:43:26 -04:00
Next Turn 2f76bdea3a Add missing struct in winsvc.h (#956) 2020-11-26 21:32:06 -05:00
Tim Weis 785f7f30a6 Added missing constants. (#922) 2020-07-13 16:19:51 -04:00
Peter Atashian 9fc2903088 Update MSDN link 2020-06-29 05:03:49 -04:00
Peter Atashian 796a8e6c29 Publish winapi 0.3.9 0.3.9 2020-06-26 07:32:33 -04:00
Peter Atashian 01ddd7bb92 Revert NET_LUID_LH changes to avoid breaking changes 2020-06-25 11:47:23 -04:00
Peter Atashian 1e52916d14 Add usbscan module 2020-06-25 11:47:19 -04:00
dotnal 73153e8111 fix winspool printer devmode definition (#904)
the printer_info field for PRINTER_INFO_9W was incorrectly using a non-wide character set for pDevMode
2020-06-09 13:33:22 -04:00
Jason Shirk c0ae27d934 Add a few missing apis in dbghelp (#864)
* Add dbghelp SymGetOptions/SymSetOptions

* Add more dbghelp apis
2020-06-08 15:58:14 -04:00
melak47 c950b467c9 Add IErrorInfo interface and related functions (#857)
* Add IErrorInfo interface

and ICreateErrorInterface to oaidl,
related functions to oleauto.

* fix import order

and line length
2020-06-07 15:00:49 -04:00
Jesús Trinidad Díaz Ramírez 052b4c7389 Add Synthetic Pointer injection functions to winuser (#880)
* Add Synthetic Pointer injection functions to winuser

* Trigger new CI
2020-06-07 14:58:37 -04:00
Peter Atashian 0b01431b89 Fix breakage from latest nightly
due to https://github.com/rust-lang/rust/pull/72342
2020-05-28 10:10:49 -04:00
Peter Atashian 0090d41176 Docs should be built for all windows-msvc platforms but nothing else 2020-05-28 09:59:51 -04:00
Peter Atashian e39a29b008 Update bundled MinGW import libraries.
raw-dylib cannot come soon enough
2020-05-28 09:59:50 -04:00
Peter Atashian 48ce6869cb Badges on crates.io have been deprecated 2020-05-28 09:59:44 -04:00
Adam C. Foltzer a5dd3ca32d Create FUNDING.yml (#895) 2020-05-26 05:04:31 -04:00
MaulingMonkey 8c3190fb0b Add missing XINPUT_DEVSUBTYPE and XINPUT_CAPS constants. (#783)
* Add missing XINPUT_DEVSUBTYPE and XINPUT_CAPS constants.

Sourced from: `C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\Xinput.h`

* Reorder missing constants to match header order

Co-authored-by: Peter Atashian <retep998@gmail.com>

Co-authored-by: Peter Atashian <retep998@gmail.com>
2020-05-15 15:59:49 -04:00
Peter Atashian a99978af4e Forgot some repr(packed) 2020-05-15 13:21:17 -04:00
Ben Wallis 17850e984a Added SHCreateItemFromParsingName extern method to shobjidl_core.rs (#820)
Co-authored-by: Peter Atashian <retep998@gmail.com>
2020-05-15 01:38:58 -04:00
Peter Atashian fbc0770712 Add usbioctl bindings 2020-05-14 05:32:46 -04:00
Peter Atashian 4c124c3539 Update README.md 2020-05-14 05:32:45 -04:00
Peter Atashian d0bef3e8e4 Create rust.yml 2020-05-14 05:32:45 -04:00
LNSEAB 4a13136af5 Fix the enum and the function in D3D11 (#833)
* fix typo of D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE

* add missing the argument of OMGetRenderTargetsAndUnorderedAccessViews
2020-05-13 22:09:56 -04:00
MSxDOS 6f3c9855a5 Fix invalid field type of TTTOOLINFOW (#871) 2020-05-13 22:09:46 -04:00
Guillaume Gomez 80176868db Fix NetUserGetLocalGroups definition (#872) 2020-05-13 22:09:37 -04:00
Tyler Wilcock 01e7d2a594 Add instructions to find header files. Make C vs. Rust versions of code examples more explicit (#694) 2020-05-13 17:03:56 -04:00
Robin Mirow b86a99bcdc Add um::objidl::IPersistFile and um::shobjidl_core::IShellLink (#788)
* Add `um::objidl::IPersistFile`

* Add `um::shobjidl_core::IShellLink`
2020-05-12 15:25:29 -04:00
fatpelt 93ae34be82 - add ipv4 ssm structs (#829)
Signed-off-by: patrick felt <patrick.felt@sling.com>

Co-authored-by: patrick felt <patrick.felt@sling.com>
2020-05-11 23:49:19 -04:00
MSxDOS b9a9db4707 Update winbase (#777) 2020-05-11 23:49:02 -04:00
jackyzy823 9da5bdba09 Fix and complete httpapi (#806)
* fix httplib library dependency and wrong parameter type of HttpCreateHttpHandle

* httpapi: add missing functions: HttpDeclarePush,HttpUpdateServiceConfiguration

* httpapi: add missing macro: HTTP_IS_NULL_ID,HTTP_SET_NULL_ID
2020-05-11 23:15:04 -04:00
David Hewitt 75936f2219 Add binding for HIGHCONTRAST{A,W} (#815) 2020-05-11 23:09:37 -04:00
Jason Shirk ad413df027 Add WER_FAULT* flags (#784) 2020-05-11 22:39:48 -04:00
Osspial b43649ce35 Mark dialog templates as repr(packed) (#884) 2020-05-08 01:42:19 -04:00
Peter Atashian 9155425b70 A few minor tweaks 2020-04-24 13:08:18 -04:00
MSxDOS c0450b50e3 Add Native Wifi / WLAN API support (#687)
* Commit

* Add parenthesis to NWF_DEFINE_OID

* Remove © headers

Co-authored-by: Peter Atashian <retep998@gmail.com>
2020-04-24 12:24:11 -04:00
Hank Bao 57731ab34e iphlpapi support (#802)
* Iphlpapi addition

* comply to pr comments in #772

* feat: netioapi support

* replace SIZEOF_* macros with functions

* fix typo & improve code

* avoid using keyword in macro

* specify enum values

* add missing functions in iphlpapi.h

* add missing struct & SIZEOF_* functions in tcpmib

* use latest defines & add SIZEOF_* functions

* add missing parts and fix naming, sizing, packing issues

* add tests

* remove comments & use DECLARE_HANDLE macro

* replace all SIZEOF_* functions with FIXME comments

* fix callback return type in netioapi & iphlpapi

* Update src/shared/ifdef.rs

Co-Authored-By: Peter Atashian <retep998@gmail.com>

* Update src/shared/ifdef.rs

Co-Authored-By: Peter Atashian <retep998@gmail.com>

* Update src/shared/ifdef.rs

Co-Authored-By: Peter Atashian <retep998@gmail.com>

* Update src/shared/netioapi.rs

Co-Authored-By: Peter Atashian <retep998@gmail.com>

* Update src/shared/netioapi.rs

Co-Authored-By: Peter Atashian <retep998@gmail.com>

* Update src/shared/nldef.rs

Co-Authored-By: Peter Atashian <retep998@gmail.com>

* Update src/shared/nldef.rs

Co-Authored-By: Peter Atashian <retep998@gmail.com>

* fix field type error in MIB_IF_ROW2

* fix imports sorting

* fix imports

* have the bitfield applied directly to a Flags field in IP_ADAPTER_ADDRESSES_LH

Co-authored-by: BlackHoleFox <blackholefoxdev@gmail.com>
Co-authored-by: Peter Atashian <retep998@gmail.com>
2020-04-24 11:26:47 -04:00
Peter Atashian b5ef9ff0c1 i686-pc-windows-gnu works again 2020-04-09 00:39:16 -04:00
Peter Atashian bbfb7325b7 Accept that i686-pc-windows-gnu is broken for now on appveyor. 2020-03-23 09:54:14 -04:00
Peter Atashian e09f8e7412 Fix errors and warnings from recent Rust versions 2020-03-19 03:57:58 -04:00
Josh Matthews 7abd241794 Support new UWP arm64 target. (#816) 2019-10-15 14:32:32 -04:00
Ruwen Hahn b67cb33fa8 Add some wintrust things 2019-09-17 05:06:42 -04:00
Alex Touchet ccc275ea99 Use HTTPS (#809) 2019-09-15 01:20:40 -04:00
Peter Atashian 7559779149 Populate more of winreg
Fixes https://github.com/retep998/winapi-rs/issues/723
2019-09-13 05:10:11 -04:00
Eduard Bopp 29f78aee61 Add service description structs to winsvc (#804) 2019-08-31 12:02:58 -04:00
Andrej Mihajlov 66755e51a0 Add failure actions FFI (#790) 2019-08-30 19:18:25 -04:00
nasso f823e7e876 Add um::winuser::GetTitleBarInfo and missing constants for um::winuser::GetAncestor (#791)
* Add gaFlags constants for the um::winuser::GetAncestor function

* Fix argument name for um::winuser::GetAncestor

* Move WINDOWINFO and GetWindowInfo to the right place

* Add um::winuser::GetTitleBarInfo with the relevant structs and constants
2019-08-28 12:58:27 -04:00
Peter Atashian ad0cc2b078 docs.rs supports default target now 2019-08-28 02:01:58 -04:00
AlphaModder b2ad3eeb01 Add IDesktopWallpaper interface to shobjidl_core. (#745)
* Add IDesktopWallpaper interface to shobjidl_core.

* Reorder methods to match shobjidl_core.h

* Add missing CLSID. Whoops!

* Move IShellItemArray into shobjidl_core, leaving a reexport.

* Move a couple things into order, update feature array.

* Move reexport.
2019-08-28 01:57:38 -04:00
Jason Shirk aab7975388 Add IsWow64Process2 (#792)
* Add IsWow64Process2

* Update wow64apiset.rs
2019-08-28 01:56:16 -04:00
Peter Atashian 05afe1294f Publish 0.3.8 0.3.8 2019-08-28 00:23:00 -04:00