Files
meetingroom-netscreen/anti_lockscreen_rust/target/release/deps/libwindows_targets-044ed1a10b53023d.rmeta

38 lines
4.9 KiB
Plaintext
Raw Normal View History

rust
Brustc 1.91.1 (ed61e7d7e 2025-11-07) (Rev1, Built by MSYS2 project)<29><02>0<>#`a<><61>i<EFBFBD>+<2B>F<EFBFBD>T8<-0a5677bcdbf6ca93<39><02>1<>-<2D>3<EFBFBD><33>%<25>:<3A><>R<>-0a51333fad0e7ace<63><01><02> $cwindows_raw_dylib<69><62>9<02> $<24><02><<3C>L<><02><02> <02><02> $<24><04><00><02> <00>## Import libs for Windows\n\nThe [windows-targets](https://crates.io/crates/windows-targets) crate includes import libs, supports semantic versioning, and optional support for raw-dylib. \n\nNote: As of Rust 1.71, the [windows-link](https://crates.io/crates/windows-link) crate should be preferred.\n\n* [Getting started](https://kennykerr.ca/rust-getting-started/)\n* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)\n* [Releases](https://github.com/microsoft/windows-rs/releases)\n* [Understanding the `windows-targets` crate](https://kennykerr.ca/rust-getting-started/understanding-windows-targets.html)\n\nStart by adding the following to your Cargo.toml file:\n\n```toml\n[dependencies.windows-targets]\nversion = \"0.53\"\n```\n\nUse the `link` macro to define the external functions you wish to call:\n\n```rust\nwindows_targets::link!(\"kernel32.dll\" \"system\" fn SetLastError(code: u32));\nwindows_targets::link!(\"kernel32.dll\" \"system\" fn GetLastError() -> u32);\n\nunsafe {\n SetLastError(1234);\n assert_eq!(GetLastError(), 1234);\n}\n```\n<><00>## Import libs for Windows
The [windows-targets](https://crates.io/crates/windows-targets) crate includes import libs, supports semantic versioning, and optional support for raw-dylib.
Note: As of Rust 1.71, the [windows-link](https://crates.io/crates/windows-link) crate should be preferred.
* [Getting started](https://kennykerr.ca/rust-getting-started/)
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)
* [Understanding the `windows-targets` crate](https://kennykerr.ca/rust-getting-started/understanding-windows-targets.html)
Start by adding the following to your Cargo.toml file:
```toml
[dependencies.windows-targets]
version = "0.53"
```
Use the `link` macro to define the external functions you wish to call:
```rust
windows_targets::link!("kernel32.dll" "system" fn SetLastError(code: u32));
windows_targets::link!("kernel32.dll" "system" fn GetLastError() -> u32);
unsafe {
SetLastError(1234);
assert_eq!(GetLastError(), 1234);
}
```
<EFBFBD><00><00><01>&<02> <0B><02>   <0B> <0B> <0B><><EFBFBD><00>j+( Defines an external function to import.<2E><02> d<>|<7C>  <0C> <0C> <0C> <0C>, <0C>8library<72><<3C>& <0C>8<02> <<3C>, <0C>8<02><1C>& <0C>8<02> <<3C>, <0C> <0C> <0C>, <0C>8<02> L<>& <0C>8<02> <<3C>- <0C>8 <14>, <0C> <0C> <0C>, <0C>8function<6F>D<>& <0C>8<02><14> <0C>*<14> <0C> <0C>+ <0C> <0C> <0C>8<02> $<24> <0C> <0C>8<02>
$<24> <0C>7windows.0.53.0<EFBFBD><00><>8
4<>, <0C>8<02><1C> <0C> <0C> , <0C> <0C> <0C>+ <0C> <0C> <0C>8<02> L<> <0C>, <0C>8<02> L<>- <0C>8<1C>8 <14>, <0C> <0C> <0C>, <0C>8<01>D<> <0C>% <0C>$0https://github.com/microsoft/windows-rs/releases<65>'Understanding the windows-targets crate<74>windows-targets<74>(https://crates.io/crates/windows-targets<74>Lhttps://kennykerr.ca/rust-getting-started/understanding-windows-targets.html<6D> windows-link<6E>%https://crates.io/crates/windows-link<6E>Getting started<65>*https://kennykerr.ca/rust-getting-started/<2F>Samples<65>Bhttps://github.com/microsoft/windows-rs/tree/master/crates/samples<65>Releases<65><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>%J<><4A><EFBFBD>O<EFBFBD>mi<6D><69><EFBFBD><13><>&<26><><EFBFBD><18>W<EFBFBD> <09>B<>lN<6C> <00> <09> )<29> 
<01> <09> <09> <00> 
<EFBFBD> <09><><EFBFBD><EFBFBD>
@ "%<02> %J<><4A><EFBFBD>O<EFBFBD>m<EFBFBD>X<EFBFBD><58><EFBFBD>W<EFBFBD><57><02><00> ſ<>Z<01><01>%J<><4A><EFBFBD>O<EFBFBD>m<EFBFBD><6D><EFBFBD><EFBFBD>T<0E>Si<0F><00><0E>:*Y<0F>ODHT <02><><00>&<26><><EFBFBD><18>W<00> <09>B<>lN%J<><4A><EFBFBD>O<EFBFBD>mi<><69><EFBFBD><13><00>+'<27><><EFBFBD>6<EFBFBD><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{<7B>+'<27><><EFBFBD>6<EFBFBD><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{dC:\Users\dxzq\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\windows-targets-0.53.5\src\lib.rs<72> <15><><EFBFBD><EFBFBD>M<EFBFBD><77><C9BE>MD <00>' ,-T)("
,2T"
B<><42><EFBFBD>9 <20>L<EFBFBD>*0<><30>4jC:\Users\dxzq\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\windows-targets-0.53.5\src\../readme.md<6D> :M֜<>*<2A><><05>+<2B><>(<28><00><01>l@P?|7HLJ &<1A><>L<EFBFBD><4C>~9.j<>e<EFBFBD><65><00>Ax86_64-pc-windows-gnu<6E><75>,~<7E><><11><><0E>s<1A><><EFBFBD>windows_targets<74>-044ed1a10b53023d<33>%J<><4A><EFBFBD>O<EFBFBD>m<02>#R<00>  <04><02>rust-end-file