The Client Management ActiveX control contains the GetClientInterface method.

 

 

Purpose

GetClientInterface requests the COM IUnknown Interface of a nominated client session.
 

Syntax

#Retval  = ObjectTagName.GetClientInterface( ParmMap )

Operation

ObjectTagName is an object expression that evaluates to the ClientManagement control.

ParmMap is a PROIV Interface map.

hTargetSession is the session identifier.

Remarks

If the method succeeds, it returns a reference to the IUnknown interface. If the function fails, it returns zero.  

Passing a value of zero for the hTargetSession parameter returns the IUnknown handle to the parent client session. The parent session refers to the Client Session that owns this instance of a ClientManagement control. Any other value is interpreted as a handle to a client session.

Example

 

Comment on this topic

Topic ID: 500457