Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IID_NULL = &GUID{0x00000000, 0x0000, 0x0000, [8]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}} IID_IDispatch = &GUID{0x00020400, 0x0000, 0x0000, [8]byte{0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}} IID_IConnectionPointContainer = &GUID{0xB196B284, 0xBAB4, 0x101A, [8]byte{0xB6, 0x9C, 0x00, 0xAA, 0x00, 0x34, 0x1D, 0x07}} IID_IConnectionPoint = &GUID{0xB196B286, 0xBAB4, 0x101A, [8]byte{0xB6, 0x9C, 0x00, 0xAA, 0x00, 0x34, 0x1D, 0x07}} IID_IProvideClassInfo = &GUID{0xb196b283, 0xbab4, 0x101a, [8]byte{0xB6, 0x9C, 0x00, 0xAA, 0x00, 0x34, 0x1D, 0x07}} )
View Source
var ( S_OK = HResult(1) S_FALSE = HResult(2) E_NOTIMPL = HResult(0x80004001) E_NOINTERFACE = HResult(0x80004002) E_POINTER = HResult(0x80004003) E_ABORT = HResult(0x80004004) E_FAIL = HResult(0x80004005) E_OUTOFMEMORY = HResult(0x8007000E) E_INVALIDARG = HResult(0x80070057) CO_E_NOTINITIALIZED = HResult(0x800401F0) )
View Source
var (
IID_IUnknown = &GUID{0x00000000, 0x0000, 0x0000, [8]byte{0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
)
Functions ¶
func Initialize ¶
func Initialize() error
Types ¶
type ComError ¶
type ComError struct {
// contains filtered or unexported fields
}
ComError contains details about COM errors.
func (*ComError) MethodName ¶
MethodName returns the name of the method that returned the error
type IDBInitialize ¶
type IDBInitialize struct {
// contains filtered or unexported fields
}
func CreateDBInitialize ¶
func CreateDBInitialize(progId string) (*IDBInitialize, error)
func (*IDBInitialize) AddRef ¶
func (dbi *IDBInitialize) AddRef()
func (*IDBInitialize) Initialize ¶
func (dbi *IDBInitialize) Initialize() error
func (*IDBInitialize) QueryDBProperties ¶
func (dbi *IDBInitialize) QueryDBProperties() (*IDBProperties, error)
func (*IDBInitialize) Release ¶
func (dbi *IDBInitialize) Release()
func (*IDBInitialize) Uninitialize ¶
func (dbi *IDBInitialize) Uninitialize() error
func (*IDBInitialize) Unknown ¶
func (dbi *IDBInitialize) Unknown() *IUnknown
type IDBProperties ¶
type IDBProperties struct {
// contains filtered or unexported fields
}
func (*IDBProperties) AddRef ¶
func (dbi *IDBProperties) AddRef()
func (*IDBProperties) GetProperties ¶
func (dbi *IDBProperties) GetProperties() error
func (*IDBProperties) GetPropertyInfo ¶
func (dbi *IDBProperties) GetPropertyInfo() error
func (*IDBProperties) Release ¶
func (dbi *IDBProperties) Release()
func (*IDBProperties) SetProperties ¶
func (dbi *IDBProperties) SetProperties() error
func (*IDBProperties) Unknown ¶
func (dbi *IDBProperties) Unknown() *IUnknown
type IUnknown ¶
type IUnknown struct {
// contains filtered or unexported fields
}
func (*IUnknown) QueryIUnknown ¶
QueryUnknown returns a pointer to the base *IUnknown pointer for this COM object. Querying for the IUnknown interface is useful when trying to verify if two COM pointers refer to the same COM object.
func (*IUnknown) QueryInterface ¶
Click to show internal directories.
Click to hide internal directories.