GetConsoleTitle function kernel32
Retrieves the title for the current console window.
DWORD GetConsoleTitleW(
_Out_ LPTSTR lpConsoleTitle,
_In_ DWORD nSize
);
Implementation
int GetConsoleTitle(Pointer<Utf16> lpConsoleTitle, int nSize) =>
_GetConsoleTitle(lpConsoleTitle, nSize);