Download SDK 8 User's Guide

Transcript
C H A P T E R
2
:
F U N C T I O N
R E F E R E N C E
Usage:
SSHANDLE
XLR_RETURN_CODE
xlrDevice;
xlrStatus;
// Open the device
xlrStatus = XLROpen( 1, &xlrDevice );
xlrStatus = XLRSetBankMode ( xlrDevice, SS_BANKMODE_NORMAL );
// Clear the write protection on Bank A.
xlrStatus = XLRSelectBank ( xlrDevice, BANK_A );
xlrStatus = XLRClearWriteProtect( xlrDevice );
// Set the write protection on Bank B.
xlrStatus = XLRSelectBank ( xlrDevice, BANK_B );
xlrStatus = XLRSetWriteProtect( xlrDevice );
See Also:
XLRSetBankMode and XLRGetBankStatus.
115