ITcEvent

The interface ITcEvent gives access to the properties of one alarm. The interface derives from IDispatch so that it could be used by all languages that support COM automation interfaces. IDispatch itself derives from IUnknown.

Methods and Properties in Vtable Order

IUnknown Methods

Description

QueryInterface

returns a pointer to the interface you query for

AddRef

Increments the reference counter

Release

Decrements the reference counter

 

IDispatch Methods

Description

GetIDsOfNames

Maps a single member name and an optional set of parameter names to a corresponding set of integer dispatch identifiers (DISPIDs), which can then be used on subsequent calls to IDispatch::Invoke.

GetTypeInfo

Retrieves the type information for an object.

GetTypeInfoCount

Retrieves the number of type information interfaces that an object provides, either 0 or 1.

Invoke

Provides access to properties and methods exposed by an object.

 

ITcEvent Methods
and Properties

Description

GetMsgString

returns the formatted message string for the requested language

Id

returns the event id.

SrcId

returns the id of the event source

InvokeId

returns the invoke id

Class

returns the event class

Priority

returns the event priority

Flags

returns the event flags

Ms

returns the millisecond part of the event date

SourceName

returns the name of the event source for the requested language

FmtProgId

returns the ProgId of the event formatter.

Date

returns the event date and time

GetData

returns the event data parameters

GetHeader

returns the event header as safearray

Confirm

confirms the alarm

Reset

resets the alarm

State

returns the event state.

MustConfirm

returns if the alarm must be confirmed

DateConfirmed

returns the date and time of the confirmation

MsConfirmed

returns the millisecond part of confirmation time

DateReset

returns the date and time when the event was reset

MsReset

returns the millisecond part of reset time

UserData

returns the user data

EnumDocLinks

returns an enumeration object that can be used to enumerated through the list of document links.

TcId

not implemented

Signal

signals the alarm