beautypg.com

Helloautomation, Getsasgeneralserviceptr – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 184

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

ISASAPISrvs 184

HelloAutomation

long HelloAutomation ();

Inputs

Return Value
A long value returns a fixed value equal to 1355.

Remark
This method to verify the interface creation result. If lReturnValue is equal to 1355, interface is

created in the right way and is working properly.

GetSASGeneralServicePtr

LPDISPATCH GetSASGeneralServicePtr();

Inputs

Return Value
Returns dispatch interface of created SASGeneralService.

Remark
This method creates the ISASGeneralService interface and returns the dispatch interface of the

created class. You must call QueryInterface to retrieve the ISASGeneralService interface from

the IDispatch interface.

NOTE: If you use the Trainer module, do not create other interfaces directly. The other

interfaces are returned by functionality provided in this interface.

See Also

ISASGeneralService