Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 65 of file tui.c.
Referenced by ReadString(), TUIDisplaySASNotice(), and TUILockedSAS().
{ WCHAR Prompt[256]; static LPCWSTR newLine = L"\n"; DWORD count; if (0 == LoadStringW(hDllInstance, uIdResourceText, Prompt, 256)) return FALSE; if (!WriteConsoleW( GetStdHandle(STD_OUTPUT_HANDLE), Prompt, wcslen(Prompt), &count, NULL)) { return FALSE; } if (AddNewLine) { if (!WriteConsoleW( GetStdHandle(STD_OUTPUT_HANDLE), newLine, wcslen(newLine), &count, NULL)) { return FALSE; } } return TRUE; }