modulepackage
0.0.0-20250111221321-28a35fa09542
Repository: https://github.com/scjalliance/comutil.git
Documentation: pkg.go.dev
# README
comutil 
The comutil
library provides additional API and type support for interacting
with the component object model runtime in Windows, beyond that which is
supplied by the go-ole library.
In particular, this library enables the creation of COM instances that communicate directly with remote servers.
This library is a work in progress. The API it provides is liable to be modified as additional features are added. It is possible that it may someday be merged into go-ole or into another library if it seems appropriate.
# Functions
No description provided by the author
No description provided by the author
CreateObject supports local creation of a single component object model interface.
CreateRemoteObject supports remote creation of a single component object model interface.
GUID converts the given uuid to a Windows-style guid that can be used by api calls.
No description provided by the author
No description provided by the author
No description provided by the author
SafeArrayFromStringSlice creates a SafeArray from the given slice of strings.
No description provided by the author
No description provided by the author
No description provided by the author
SafeArrayToConcreteSlice converts the given non-variant array to a native Go representation.
SafeArrayToSlice converts the given array to a native Go representation.
SafeArrayToVariantSlice converts the given variant array to a native Go representation.
VariantToValue attempts to convert the given variant to a native Go representation.
# Variables
ErrCreationFailed is returned when instance creation fails for an unspecified reason.
ErrMultiDimArray is returned when a safe array contains more than one one dimension.
ErrNonVariantArray is returned when members of a safe array members were expected to variants but are not.
No description provided by the author
ErrUnsupportedArray is returned when members of a safe array members are supported for type conversion.
ErrVariantArray is returned when members of a safe array members were not expected to variants but are.
# Structs
CoAuthIdentity represents the COAUTHITDENTIY structure expected by the Windows COM api.
CoAuthInfo represents the COAUTHINFO structure expected by the Windows COM api.
CoServerInfo represents the COSERVERINFO structure expected by the Windows COM api.
MultiQI represents the MULTI_QI structure expected by the Windows COM api.