beautypg.com

Getfielddata, Activedevice – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 637

background image


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

ITargetEmulEngine 637

GetFieldData

Void GetFieldData (

int nPageIndex,

int nFieldIndex,

VARIANT *pvFieldData);


Inputs
int nPageIndex

Page index. (see

Target Emulator SCSI Pages List

)

int nFieldIndex

Page index.

VARIANT *pvFieldData

Data of a field from a page.


Return Value
None.

Remark
Used in pages section of SAS Software. Returns data of a field in a page.

See Also

SetFieldData

ActiveDevice

Void ActiveDevice (

BOOL bActive,

long* plRetVal);


Inputs
BOOL bActive

Device activity.

long* plRetVal

Error code. If the function call was corrected, the error code is zero.


Return Value
None.

Remark
Activates or deactivates a device.