NWSMGetResponderVersionInfo

Queries the responder used by the specified connection for its version information.

Syntax

  #include <sms.h> 
   
  CCODE NWSMGetResponderVersionInfo ( 
     UINT32                       connection, 
     NWSM_MODULE_VERSION_INFO  *versionInfo);
  

Parameters

connection

(IN) Specifies the connection information that NWSMConnectToTSA returned.

versionInfo

(OUT) Points to a NWSM_MODULE_VERSION_INFO structure.

Return Values

The following table lists the return values associated with the function.

0x00000000

Successful

0xFFFEFFFE

NWSMDR_INVALID_PARAMETER

0xFFFEFFFF

NWSMDR_INVALID_CONNECTION

0xFFFEFFE9

NWSMDR_INVALID_CONTEXT

Remarks

If the only SMDR is local, its version information is returned.

You are responsible for freeing the memory held by versionInfo.