Expand description
§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
ComPtrtype for making use of them. - Definition of
IUnknown, the base COM interface.
Macros§
- com_
interface - Macro for generating COM interface definitions.
- iid
- Helper macro for defining
IIDconstants.
Structs§
- ComPtr
- Wrapper type for COM interface pointers.
- IID
- Interface identifier.
- IUnknown
- Base interface for all COM types.
Constants§
Traits§
- AsCom
Ptr - Helper trait for
ComPtr. Defines which types of raw pointer can be returned byas_ptr/as_mut_ptr. - ComInterface
- Helper trait for
ComPtr. Implemented automatically by thecom_interface!macro.
Type Aliases§
- HResult
- Result type.