public static extern bool FillConsoleOutputAttribute( IntPtr hConsoleOutput, CHARACTER_ATTRIBUTE wAttribute, uint nLength, COORD dwWriteCoord, ref uint lpNumberOfAttrsWritten);
public static extern bool SetConsoleTextAttribute(IntPtr hConsoleOutput, CHARACTER_ATTRIBUTE wAttributes);
public static extern bool ReadConsoleOutputAttribute( IntPtr hConsoleOutput, ref CHARACTER_ATTRIBUTE[] lpAttribute, uint nLength, COORD dwReadCoord, ref uint lpNumberOfAttrsRead);