IID

 (Available in 01 TS COM - TS_COM_DelegateISink)

Purpose

Get the IID of the enclosed interface.

Syntax

? TS_GUID2String( oDelegateIUnknown: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( oDelegateIUnknown: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 PTR PASCAL CLASS TS_DelegateISink
   TSTrace Enter
   TSTrace Leave
RETURN TS_GUID_NULL( )