iprovideclassinfo

package
v0.0.0-...-416ad78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

+build windows

+build windows

Index

Constants

This section is empty.

Variables

View Source
var InterfaceID = &com.GUID{0xb196b283, 0xbab4, 0x101a, [8]byte{0xB6, 0x9C, 0x00, 0xAA, 0x00, 0x34, 0x1D, 0x07}}

IID for IUnknown

Functions

func GetClassInfo

func GetClassInfo(obj interface{}, method uintptr) (element *itypeinfo.TypeInfo, err error)

Types

type IProvideClassInfo

type IProvideClassInfo interface {
	GetClassInfo() (*itypeinfo.TypeInfo, error)
}

type ProvideClassInfo

type ProvideClassInfo iunknown.Unknown

func (*ProvideClassInfo) AddRef

func (p *ProvideClassInfo) AddRef() int32

AddRef increments the reference counter for object.

func (*ProvideClassInfo) GetClassInfo

func (p *ProvideClassInfo) GetClassInfo() (*itypeinfo.TypeInfo, error)

func (*ProvideClassInfo) QueryInterface

func (p *ProvideClassInfo) QueryInterface(interfaceID *com.GUID, element interface{}) error

QueryInterface will query interface and return object by reference.

func (*ProvideClassInfo) Release

func (p *ProvideClassInfo) Release() int32

Release decrements the reference counter for object.

func (*ProvideClassInfo) VTable

func (p *ProvideClassInfo) VTable() *VirtualTable

type VirtualTable

type VirtualTable struct {
	iunknown.VirtualTable
	GetClassInfo uintptr
}

The Virtual Table for ITypeLib COM objects.

Stores pointers to ITypeLib methods to be called using Syscall or unsafe.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL