VOID TextSetCurrentAttribute( IN UCHAR Attribute ) /*++ Routine Description: Sets the character attribute to be used for subsequent text display. Arguments: Returns: Nothing. --*/ { TextCurrentAttribute = Attribute; if(DbcsLangId) { TextGrSetCurrentAttribute(Attribute); } else { TextTmSetCurrentAttribute(Attribute); } }
// // set attribute // VOID TextSetCurrentAttribute(__in UCHAR Attribute) { TextCurrentAttribute = Attribute; if(DbcsLangId) TextGrSetCurrentAttribute(Attribute); else TextTmSetCurrentAttribute(Attribute); }