MT_GetLEDStatus

■Description

Get status-LED status.

■Synopsis

int MT_GetLEDStatus(int fd, PLEDSTATUS pledsts)

■Argument

  int fd
    Please specify handle acquired by MT_Open function.

  PLEDSTATUS pledsts
    Specify the Pointer to the structure that stores the status LED status
    PLEDSTATUS structure is as follows.

      typedef struct {
        unsigned char ucSLED;
        unsigned char ucSLED1;
        unsigned char ucSLED2;
        unsigned char ucExt[13];
      } LEDSTATUS, *PLEDSTATUS;

    The status shown in the table below is stored for the member variable ucSLED.
    ucExt[13] is not used for reservation. Depending on the model, the member variable
    that stores the LED status information is different.
    Ignore the value of the member variable of the machine not compatible.
  
Variable Support products
ucSLED Reserved
ucSLED1 VPC-1700 Series,
VPC-3100 Series,
VPC-1800 Series,
VPC-3200 Series
ucSLED2 VPC-1700 Series,
VPC-3100 Series,
VPC-1800 Series,
VPC-3200 Series
ucExt[13] Reserved
Definition (mtdll.h) description
SLED_OFF turning off LED
SLED_ON turning on LED

■RETURN VALUE

If the function succeeds, NO_ERROR is returned.
If the function fails, DRIVER_FAIL is returned.
The other errors : Error code details



Function List