com-rs 0.1.5

Rust bindings for the Win32 COM API

Crate com_rs [] [src]

com-rs 0.1.4

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.

Macros

com_interface!

Macro for generating COM interface definitions.

iid!

Helper macro for defining IID constants.

Structs

ComPtr

Wrapper type for COM interface pointers.

IID

Interface identifier.

IUnknown

Base interface for all COM types.

Traits

AsComPtr

Helper trait for ComPtr. Defines which types of raw pointer can be returned by as_ptr/as_mut_ptr.

ComInterface

Helper trait for ComPtr. Implemented automatically by the com_interface! macro.

Type Definitions

HResult

Result type.