Expand description
§com-rs 0.1.4
Rust bindings for the Win32 [Component Object Model] (https://msdn.microsoft.com/en-us/library/ms680573.aspx).
§Overview
This crate is composed of three main components:
- The
com_interface!(macro.com_interface!.html) 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.
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.