Documentation ¶
Index ¶
- func CallMethod(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT, err error)
- func ClassIDFrom(programID string) (classID *ole.GUID, err error)
- func ConnectObject(disp *ole.IDispatch, iid *ole.GUID, idisp interface{}) (uint32, error)
- func CreateObject(programID string) (unknown *ole.IUnknown, err error)
- func ForEach(disp *ole.IDispatch, f func(v *ole.VARIANT) error) error
- func GetActiveObject(programID string) (unknown *ole.IUnknown, err error)
- func GetProperty(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT, err error)
- func MustCallMethod(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT)
- func MustGetProperty(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT)
- func MustPutProperty(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT)
- func MustPutPropertyRef(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT)
- func PutProperty(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT, err error)
- func PutPropertyRef(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallMethod ¶
func CallMethod(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT, err error)
CallMethod calls method on IDispatch with parameters.
func ClassIDFrom ¶
ClassIDFrom retrieves class ID whether given is program ID or application string.
func ConnectObject ¶
ConnectObject creates a connection point between two services for communication.
func CreateObject ¶
CreateObject creates object from programID based on interface type.
Only supports IUnknown.
Program ID can be either program ID or application string.
func GetActiveObject ¶
GetActiveObject retrieves active object for program ID and interface ID based on interface type.
Only supports IUnknown.
Program ID can be either program ID or application string.
func GetProperty ¶
func GetProperty(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT, err error)
GetProperty retrieves property from IDispatch.
func MustCallMethod ¶
MustCallMethod calls method on IDispatch with parameters or panics.
func MustGetProperty ¶
MustGetProperty retrieves property from IDispatch or panics.
func MustPutProperty ¶
MustPutProperty mutates property or panics.
func MustPutPropertyRef ¶
func MustPutPropertyRef(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT)
MustPutPropertyRef mutates property reference or panics.
Types ¶
This section is empty.