IID

 (Available in 01 TS COM - TS_COM_DelegateIDispatch)

Purpose

Get the IID of the enclosed interface.

Syntax

? TS_GUID2String( oDelegateIDispatch:IID )

Description

Get the IID of the enclosed interface. The IID ( Interface ID ) is used by COM to identify interfaces. The returned IID can be seen as the classname of the interface.

Returns

POINTER, IID as WinGUID

Example

IF TS_IsEqualGUID( oDelegateIDispatch:IID, TS_GUID_IDispatch( ) )
// Use the 'IDispatch' interface of the interface
ELSE
   TSTrace Warning "This interface dous not support 'IDispatch'"
END

Source

ACCESS IID AS _WinGUID PASCAL CLASS TS_DelegateIDispatch
LOCAL pstruWinGUID AS _WinGUID
   TSTrace Enter
   pstruWinGUID:=TS_GUID_IDispatch( )
   TSTrace Leave
RETURN pstruWinGUID