Documentation ¶
Index ¶
- Constants
- func StringToLPCTSTR(value string) uintptr
- type CtApi
- func (this *CtApi) CtClose(handle windows.Handle) (bool, error)
- func (this *CtApi) CtFindClose(h windows.Handle) error
- func (this *CtApi) CtFindFirst(h windows.Handle, table string) (windows.Handle, windows.Handle, error)
- func (this *CtApi) CtFindNext(hSearch windows.Handle) (windows.Handle, error)
- func (this *CtApi) CtOpen() (windows.Handle, error)
- func (this *CtApi) FindAll(h windows.Handle, table string) <-chan windows.Handle
- func (this *CtApi) GetPropertyAsString(hTag windows.Handle, name string) (string, error)
- func (this *CtApi) NewList(connection windows.Handle) (*CtList, error)
- func (this *CtApi) Subscribe(hConnection windows.Handle, updateRate time.Duration, tags []string) (chan SubscriptionUpdate, error)
- type CtList
- type Subscription
- type SubscriptionUpdate
Constants ¶
View Source
const CT_LIST_EVENT = 0x00000001
View Source
const CT_LIST_LIGHTWEIGHT_MODE = 0x00000002
View Source
const CT_LIST_QUALITY_CONTROL_MODE = 0x0000000B
View Source
const CT_LIST_QUALITY_DATASOURCE_ERROR = 0x00000009
View Source
const CT_LIST_QUALITY_EXTENDED_SUBSTATUS = 0x00000008
View Source
const CT_LIST_QUALITY_GENERAL = 0x00000005
View Source
const CT_LIST_QUALITY_LIMIT = 0x00000007
View Source
const CT_LIST_QUALITY_OVERRIDE = 0x0000000A
View Source
const CT_LIST_QUALITY_SUBSTATUS = 0x00000006
View Source
const CT_LIST_QUALITY_TIMESTAMP = 0x00000004
View Source
const CT_LIST_TIMESTAMP = 0x00000002
View Source
const CT_LIST_VALUE = 0x00000001
View Source
const CT_LIST_VALUE_TIMESTAMP = 0x00000003
View Source
const CT_OPEN_BATCH = 0x08
View Source
const CT_OPEN_EXTENDED = 0x10
View Source
const CT_OPEN_READ_ONLY = 0x04
View Source
const CT_OPEN_RECONNECT = 0x02
View Source
const CT_OPEN_WINDOWSUSER = 0x20
View Source
const DBTYPE_ARRAY = 0x2000
View Source
const DBTYPE_BOOL = 11
View Source
const DBTYPE_BSTR = 8
View Source
const DBTYPE_BYREF = 0x4000
View Source
const DBTYPE_BYTES = 128
View Source
const DBTYPE_CY = 6
View Source
const DBTYPE_DATE = 7
View Source
const DBTYPE_DBDATE = 133
View Source
const DBTYPE_DBTIME = 134
View Source
const DBTYPE_DBTIMESTAMP = 135
View Source
const DBTYPE_DECIMAL = 14
View Source
const DBTYPE_EMPTY = 0
View Source
const DBTYPE_ERROR = 10
View Source
const DBTYPE_GUID = 72
View Source
const DBTYPE_I1 = 16
View Source
const DBTYPE_I2 = 2
View Source
const DBTYPE_I4 = 3
View Source
const DBTYPE_I8 = 20
View Source
const DBTYPE_IDISPATCH = 9
View Source
const DBTYPE_IUNKNOWN = 13
View Source
const DBTYPE_NULL = 1
View Source
const DBTYPE_NUMERIC = 131
View Source
const DBTYPE_R4 = 4
View Source
const DBTYPE_R8 = 5
View Source
const DBTYPE_RESERVED = 0x8000
View Source
const DBTYPE_STR = 129
View Source
const DBTYPE_UDT = 132
View Source
const DBTYPE_UI1 = 17
View Source
const DBTYPE_UI2 = 18
View Source
const DBTYPE_UI4 = 19
View Source
const DBTYPE_UI8 = 21
View Source
const DBTYPE_VARIANT = 12
View Source
const DBTYPE_VECTOR = 0x1000
View Source
const DBTYPE_WSTR = 130
Variables ¶
This section is empty.
Functions ¶
func StringToLPCTSTR ¶
Types ¶
type CtApi ¶
type CtApi struct {
// contains filtered or unexported fields
}
func (*CtApi) CtFindFirst ¶
func (*CtApi) CtFindNext ¶
func (*CtApi) GetPropertyAsString ¶
type CtList ¶
type CtList struct {
// contains filtered or unexported fields
}
func (*CtList) Add ¶
Add adds a tag to the list of tags being observed. Returns a handle that can be used to read the item or remove it from the list. Also returns an error code that is nil if there is no error
func (*CtList) Free ¶
Free releases a list back to CtApi. Returns nil on success, otherwise returns an error.
func (*CtList) GetFloatValue ¶
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
type SubscriptionUpdate ¶
type SubscriptionUpdate struct { }
Click to show internal directories.
Click to hide internal directories.