There may be multiple text in protocols. How will you know which one to open? ConIn may also be redirecting from a Unicode file, an asci file, or an environment variable if you run under the shell.
Tl;dr No, don't do it. > -----Original Message----- > From: edk2-devel [mailto:[email protected]] On Behalf Of > Miller, Carl H > Sent: Tuesday, October 13, 2015 1:35 PM > To: [email protected] > Subject: [edk2] worth openning gEfiSimpleTextIinputProtocol ? > > hello, was wondering if it makes sense to open the > gEfiSimpleTextIinputProtocol rather than just using gST->ConIn pointer ???? > > thanks > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

