Docs.rs
win-wrap-0.2.3
win-wrap 0.2.3
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
mzdk100
Dependencies
windows ^0.58.0
normal
optional
windows-core ^0.58.0
normal
optional
Versions
Go to latest version
Platform
i686-pc-windows-msvc
x86_64-pc-windows-msvc
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
win_wrap
0.2.3
Module com
Modules
Functions
In crate win_wrap
Module
win_wrap
::
com
Copy item path
source
·
[
−
]
Modules
§
persist
Functions
§
co_initialize_multi_thread
使用多线程模型套间(Multi Thread Apartment, MTA)初始化COM调用。 MTA能充分利用多核CPU,提高程序性能,但要注意线程之间同步的安全问题。
co_uninitialize
关闭当前线程的COM库,卸载线程加载的所有dll,释放任何其他的资源,关闭在线程上维护所有的RPC连接。