MCPcopy Index your code

hub / github.com/go-ole/go-ole / functions

Functions383 in github.com/go-ole/go-ole

↓ 111 callersFunctionNewError
NewError creates new error with HResult.
error.go:11
↓ 79 callersMethodCall
Call method on IDispatch with parameters.
connect.go:79
↓ 67 callersMethodError
Error implements error interface and returns error string.
ole.go:102
↓ 46 callersMethodToIDispatch
ToIDispatch converts variant to dispatch object.
variant.go:19
↓ 43 callersMethodRelease
()
iunknown.go:18
↓ 39 callersFunctionNewVariant
NewVariant returns new variant based on type and value.
variant.go:6
↓ 33 callersMethodClear
Clear frees BSTR strings inside an EXCEPINFO and set it to NULL.
ole.go:59
↓ 30 callersFunctionMustGetProperty
MustGetProperty retrieves property from IDispatch or panics.
oleutil/oleutil.go:69
↓ 29 callersMethodValue
Value returns variant value based on its type. Currently supported types: 2- and 4-byte integers, strings, bools. Note that 64-bit integers, datetime
variant.go:57
↓ 26 callersFunctionCoUninitialize
CoUninitialize uninitializes COM Library.
com.go:128
↓ 24 callersFunctionMustCallMethod
MustCallMethod calls method on IDispatch with parameters or panics.
oleutil/oleutil.go:55
↓ 21 callersFunctionNewGUID
NewGUID converts the given string into a globally unique identifier that is compliant with the Windows API. The supplied string may be in any of thes
guid.go:116
↓ 21 callersFunctionconvertHresultToError
convertHresultToError converts syscall to error, if call is unsuccessful.
utility.go:96
↓ 18 callersMethodGetProperty
GetProperty retrieves the property with the name with the ability to pass arguments. Most of the time you will not need to pass arguments as most obj
idispatch.go:87
↓ 16 callersMethodInvoke
Invoke IDispatch on DisplayID of dispatch type with parameters. There have been problems where if send cascading params..., it would error out becaus
connect.go:173
↓ 15 callersMethodToString
ToString converts variant to Go string.
variant.go:38
↓ 14 callersFunctionCallMethod
CallMethod calls method on IDispatch with parameters.
oleutil/oleutil.go:50
↓ 14 callersMethodCallMethod
CallMethod invokes named function with arguments on object.
idispatch.go:78
↓ 14 callersMethodQueryInterface
(iid *GUID)
iunknown.go:16
↓ 14 callersFunctiondecodeHexByte
(c1, c2 byte)
guid.go:194
↓ 13 callersMethodGetIDsOfName
(names []string)
idispatch.go:21
↓ 13 callersMethodPutProperty
PutProperty attempts to mutate a property in the object.
idispatch.go:92
↓ 13 callersFunctionsafeArrayGetElement
safeArrayGetElement retrieves element at given index.
safearray_func.go:127
↓ 13 callersFunctionwrapGoOLETestCOMServerScalar
(t *testing.T, callback func(*testing.T, *IUnknown, *IDispatch))
idispatch_windows_test.go:51
↓ 12 callersFunctioncoInitialize
coInitialize initializes COM library on current thread. MSDN documentation suggests that this function should not be called. Call CoInitializeEx() in
com.go:53
↓ 12 callersFunctionwrapGoOLETestCOMServerEcho
(t *testing.T, callback func(*testing.T, *IUnknown, *IDispatch))
idispatch_windows_test.go:45
↓ 10 callersFunctionCLSIDFromProgID
CLSIDFromProgID retrieves Class Identifier with the given Program Identifier. The Programmatic Identifier must be registered, because it will be look
com.go:159
↓ 10 callersFunctionCreateObject
CreateObject creates object from programID based on interface type. Only supports IUnknown. Program ID can be either program ID or application strin
oleutil/oleutil.go:15
↓ 9 callersFunctionCoInitialize
CoInitialize initializes COM library on current thread. MSDN documentation suggests that this function should not be called. Call CoInitializeEx() in
com.go:113
↓ 9 callersMethodVTable
()
iunknown.go:21
↓ 8 callersMethodCode
Code is the HResult.
error.go:26
↓ 8 callersFunctionPutProperty
PutProperty mutates property.
oleutil/oleutil.go:78
↓ 7 callersMethodCreate
Create IUnknown object based first on ProgId and then from String.
connect.go:21
↓ 7 callersFunctionCreateInstance
CreateInstance of single uninitialized object with GUID.
com.go:222
↓ 7 callersMethodDispatch
Dispatch returns Dispatch object.
connect.go:64
↓ 7 callersMethodInitialize
Initialize COM.
connect.go:11
↓ 7 callersMethodInvokeWithOptionalArgs
InvokeWithOptionalArgs accepts arguments as an array, works like Invoke. Accepts name and will attempt to retrieve Display ID to pass to Invoke. Pas
idispatch.go:62
↓ 6 callersMethodGetId
GetId retrieves ID of name on IDispatch.
connect.go:153
↓ 6 callersFunctionMustPutProperty
MustPutProperty mutates property or panics.
oleutil/oleutil.go:83
↓ 6 callersMethodRelease
Release IUnknown object.
connect.go:41
↓ 6 callersMethodTotalElements
(index uint32)
safearrayconversion.go:114
↓ 6 callersMethodUninitialize
Uninitialize COM.
connect.go:16
↓ 5 callersFunctionBstrToString
BstrToString converts COM binary string to Go string.
utility.go:61
↓ 5 callersMethodToArray
ToArray converts variant to SafeArray helper.
variant.go:27
↓ 4 callersFunctionCLSIDFromString
CLSIDFromString retrieves Class ID from string representation. This is technically the string version of the GUID and will convert the string to obje
com.go:176
↓ 4 callersFunctionCoInitializeEx
CoInitializeEx initializes COM library with concurrency model.
com.go:121
↓ 4 callersFunctionGetProperty
GetProperty retrieves property from IDispatch.
oleutil/oleutil.go:64
↓ 4 callersFunctionGetUserDefaultLCID
GetUserDefaultLCID retrieves current user default locale.
com.go:366
↓ 4 callersFunctionIsEqualGUID
IsEqualGUID compares two GUID. Not constant time comparison.
guid.go:272
↓ 4 callersFunctionLOGetCell
LOGetCell returns an handle to a cell within a worksheet LibreOffice Basic: GetCell = oSheet.getCellByPosition (nColumn , nRow)
_example/libreoffice/libreoffice.go:53
↓ 4 callersFunctionLpOleStrToString
LpOleStrToString converts COM Unicode to Go string.
utility.go:42
↓ 4 callersMethodNext
(celt uint)
ienumvariant_func.go:17
↓ 4 callersMethodToIUnknown
ToIUnknown converts Variant to Unknown object.
variant.go:11
↓ 4 callersMethodVTable
()
ienumvariant.go:17
↓ 3 callersFunctionDeleteHString
DeleteHString deletes HString.
winrt.go:80
↓ 3 callersMethodIEnumVARIANT
(interfaceID *GUID)
iunknown.go:34
↓ 3 callersFunctionSysAllocStringLen
SysAllocStringLen copies up to length of given string returning pointer.
com.go:305
↓ 3 callersFunctionSysFreeString
SysFreeString frees string system memory. This must be called with SysAllocString.
com.go:315
↓ 3 callersMethodToStringArray
()
safearrayconversion.go:13
↓ 3 callersMethodVTable
()
iinspectable.go:16
↓ 3 callersFunctionVariantClear
VariantClear clears value in Variant settings to VT_EMPTY.
com.go:289
↓ 3 callersFunctioncoInitializeEx
coInitializeEx initializes COM library with concurrency model.
com.go:65
↓ 3 callersMethodrenderStrings
renderStrings translates BSTR strings to Go ones so `.Error` and `.String` could be safely called after `.Clear`. We need this when we can't rely on a
ole.go:39
↓ 3 callersFunctionsafeArrayGetElementString
safeArrayGetElement retrieves element at given index and converts to string.
safearray_func.go:132
↓ 2 callersFunctionAddRef
(this *ole.IUnknown)
_example/winsock/winsock.go:47
↓ 2 callersMethodAdvise
(unknown *IUnknown)
iconnectionpoint_func.go:11
↓ 2 callersMethodGet
Get property on IDispatch with parameters.
connect.go:105
↓ 2 callersMethodInvoke
(dispid int32, dispatch int16, params ...interface{})
idispatch.go:26
↓ 2 callersFunctionLOSetCellString
LOSetCellString sets the text value of a cell
_example/libreoffice/libreoffice.go:80
↓ 2 callersFunctionNewHString
NewHString returns a new HString for Go string.
winrt.go:66
↓ 2 callersMethodPutQueryInterface
(interfaceID *GUID, obj interface{})
iunknown.go:25
↓ 2 callersMethodRelease
()
iunknown.go:55
↓ 2 callersMethodVTable
()
iconnectionpoint.go:18
↓ 2 callersFunctionVariantInit
VariantInit initializes variant.
com.go:280
↓ 2 callersFunctioncheckError
(err error, msg string)
_example/libreoffice/libreoffice.go:45
↓ 2 callersFunctiondecodeHexChar
(c byte)
guid.go:204
↓ 2 callersFunctiondecodeHexUint16
(src []byte)
guid.go:170
↓ 2 callersFunctiondispAddRef
(this *ole.IUnknown)
oleutil/connection.go:47
↓ 2 callersFunctionerrstr
errstr converts error code to string.
error_func.go:6
↓ 2 callersFunctionputByteHex
(dst, src []byte)
guid.go:262
↓ 2 callersFunctionputUint16Hex
(b []byte, v uint16)
guid.go:255
↓ 2 callersFunctionqueryInterface
(unk *IUnknown, iid *GUID)
iunknown_func.go:9
↓ 2 callersFunctionrelease
(unk *IUnknown)
iunknown_func.go:17
↓ 2 callersFunctionsafeArrayCreateVector
safeArrayCreateVector creates SafeArray. AKA: SafeArrayCreateVector in Windows API.
safearray_func.go:75
↓ 2 callersFunctionsafeArrayDestroy
safeArrayDestroy destroys SafeArray object. AKA: SafeArrayDestroy in Windows API.
safearray_func.go:89
↓ 2 callersFunctionsafeArrayGetLBound
safeArrayGetLBound returns lower bounds of SafeArray. SafeArrays may have multiple dimensions. Meaning, it could be multidimensional array. AKA: Saf
safearray_func.go:149
↓ 2 callersFunctionsafeArrayGetUBound
safeArrayGetUBound returns upper bounds of SafeArray. SafeArrays may have multiple dimensions. Meaning, it could be multidimensional array. AKA: Saf
safearray_func.go:159
↓ 2 callersFunctionsafeArrayGetVartype
safeArrayGetVartype returns data type of SafeArray. AKA: SafeArrayGetVartype in Windows API.
safearray_func.go:166
↓ 2 callersFunctionsafeArrayPutElement
safeArrayPutElement stores the data element at the specified location in the array. AKA: SafeArrayPutElement in Windows API.
safearray_func.go:191
↓ 2 callersFunctionwrapCOMExecute
(t *testing.T, callback func(*testing.T))
idispatch_windows_test.go:7
↓ 2 callersFunctionwrapDispatch
(t *testing.T, ClassID, UnknownInterfaceID, DispatchInterfaceID *GUID, callback func(*testing.T, *IUnknown, *I
idispatch_windows_test.go:23
↓ 1 callersFunctionClassIDFrom
ClassIDFrom retrieves class ID whether given is program ID or application string. Helper that provides check against both Class ID from Program ID an
utility.go:13
↓ 1 callersMethodClear
Clear the memory of variant object.
variant.go:46
↓ 1 callersFunctionCoTaskMemFree
CoTaskMemFree frees memory pointer.
com.go:142
↓ 1 callersFunctionConnectObject
ConnectObject creates a connection point between two services for communication.
oleutil/connection_windows.go:14
↓ 1 callersMethodFindConnectionPoint
(iid *GUID, point **IConnectionPoint)
iconnectionpointcontainer_func.go:9
↓ 1 callersMethodGetSingleIDOfName
GetSingleIDOfName is a helper that returns single display ID for IDispatch name. This replaces the common pattern of attempting to get a single name
idispatch.go:45
↓ 1 callersMethodGetTypeInfo
()
idispatch.go:36
↓ 1 callersMethodGetTypeInfoCount
()
idispatch.go:31
↓ 1 callersFunctionGetVariantDate
(value uint64)
com_func.go:172
next →1–100 of 383, ranked by callers