#com #com-interface #tiny #consume #necessary #subset #windows

tinycom

Tiny COM implements the tiny subset necessary to consume IUnknown interfaces

1 unstable release

0.1.0 Feb 26, 2022

#188 in Windows APIs

MIT/Apache

20KB
266 lines

tinycom-rs

Tiny COM implements the tiny subset necessary to consume IUnknown interfaces, it does so in a platform independent way and with 0 dependencies, so shared libraries complying with COM can be loaded on other systems (like the Direct X shader compiler).

Alternatives

This crate covers a tiny area, other COM related crated might be more suitables depending on your use case

Credits

This crate was originally developped by Lee Jeffery, and has been depracated since to be replaced by com-rs, the official microsoft COM bindings. We decided to revive the crate to serve our small use case and the idea is to not extend it's functionnality.


lib.rs:

tinycom-rs 0.1.0

Tiny Rust bindings for the Win32 Component Object Model.

Overview

This crate is composed of three main components:

  • The com_interface! macro for defining new interface types.
  • The ComPtr type for making use of them.
  • Definition of IUnknown, the base COM interface.

No runtime deps