Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 131

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
Using Target/Device Emulator API Functions 131
Below are the function prototypes corresponding to every option of Modify Common Settings
for
SAS and SATA Target Emulator Projects:
STDMETHOD
(put_AlignTransmissionPeriod) (
/*[out]*/
int
* pnErrorCode,
/*[in]*/
short
newVal);
STDMETHOD
(put_DataFramePayloadSize) (
/*[out]*/
int
* pnErrorCode,
/*[in]*/
short
newVal);
STDMETHOD
(put_PortSpeed) (
/*[in]*/
AnalyzerSpeedEnum newVal);
STDMETHOD
(SetDeviceType) (
/*[in]*/
int
nDeviceIndex,
/*[in]*/
DeviceConfiguartionTypeEnum eDeviceType);
STDMETHOD
(SetMediaAreaAttribute) (
/*[in]*/
int
nAreaIndex,
/*[in]*/
int
nStartAddress,
/*[in]*/
int
nEndAddress,
/*[in]*/
TrgEmulMediaAreaTypeEnum eAreaType,
/*[out]*/
int
* pnErrorCode);
STDMETHOD
(SetNumberOfMediaArea) (
/*[in]*/
BYTE yNumberOfAreas,
/*[out]*/
int
* pnErrorCode);
STDMETHOD
(SetNumberOfActivation) (
/*[in]*/
short
iNumberOfActivation);
STDMETHOD
(SetActivationPeriod) (
/*[in]*/
int
nActivationPeriod);
STDMETHOD
(put_ActiveTargetWithOldSetting) (
/*[in]*/
BOOL bActiveWithOldSetting);