IID
(Available in 01 TS COM - TS_COM_DelegateIUnknown)
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 PASCAL CLASS TS_DelegateIUnknown
LOCAL pstruWinGUID AS _WinGUID
TSTrace Enter
pstruWinGUID:=TS_GUID_IUnknown( )
TSTrace Leave
RETURN pstruWinGUID