Am I just being thick here or...
... well, if I understand you right, the second argument is a pointer to the value you wish to write, or read to. So if x is the variable whose value you wish to pass, you would write,
status = EEPROM_IO(0,&x,(unsigned int)EEPROM_SIZE,CLEAR);
... right? So...