CArclib::ArcSetLogo

The ArcSetLogo method updates the RAID subsystem logo.

 

virtual ARC_STATUS ArcSetLogo (

char *imageBuf,

int imageSize

);

Parameters:

[IN]

imageBuf: The buffer contains the context of the image ( .jpg or .gif ).

imageSize: The actually size of image, not the buffer size.

Return Values

This method returns the ARC_STATUS.

Note:

The image size must <= 7998 bytes for Non-SAS controller and <= 64000bytes for SAS controller

 

The sequences of update logo:

1. Read the image file context from the disk into the calling function allocated buffer.

2. Make sure the image size <= 7998 bytes(Non-SAS) or <= 64000 bytes(SAS).

3. Pass the image buffer and image size as the parameters into the member function ArcSetLogo.