### consoleapi2.h ###

CreateConsoleScreenBuffer=func
func.CreateConsoleScreenBuffer.args=5
func.CreateConsoleScreenBuffer.arg.0=DWORD,dwDesiredAccess
func.CreateConsoleScreenBuffer.arg.1=DWORD,dwShareMode
func.CreateConsoleScreenBuffer.arg.2=const SECURITY_ATTRIBUTES *,lpSecurityAttributes
func.CreateConsoleScreenBuffer.arg.3=DWORD,dwFlags
func.CreateConsoleScreenBuffer.arg.4=LPVOID,lpScreenBufferData
func.CreateConsoleScreenBuffer.ret=HANDLE

FillConsoleOutputAttribute=func
func.FillConsoleOutputAttribute.args=5
func.FillConsoleOutputAttribute.arg.0=HANDLE,hConsoleOutput
func.FillConsoleOutputAttribute.arg.1=WORD,wAttribute
func.FillConsoleOutputAttribute.arg.2=DWORD,nLength
func.FillConsoleOutputAttribute.arg.3=COORD,dwWriteCoord
func.FillConsoleOutputAttribute.arg.4=LPDWORD,lpNumberOfAttrsWritten
func.FillConsoleOutputAttribute.ret=BOOL

FillConsoleOutputCharacterA=func
func.FillConsoleOutputCharacterA.args=5
func.FillConsoleOutputCharacterA.arg.0=HANDLE,hConsoleOutput
func.FillConsoleOutputCharacterA.arg.1=CHAR,cCharacter
func.FillConsoleOutputCharacterA.arg.2=DWORD,nLength
func.FillConsoleOutputCharacterA.arg.3=COORD,dwWriteCoord
func.FillConsoleOutputCharacterA.arg.4=LPDWORD,lpNumberOfCharsWritten
func.FillConsoleOutputCharacterA.ret=BOOL

FillConsoleOutputCharacterW=func
func.FillConsoleOutputCharacterW.args=5
func.FillConsoleOutputCharacterW.arg.0=HANDLE,hConsoleOutput
func.FillConsoleOutputCharacterW.arg.1=WCHAR,cCharacter
func.FillConsoleOutputCharacterW.arg.2=DWORD,nLength
func.FillConsoleOutputCharacterW.arg.3=COORD,dwWriteCoord
func.FillConsoleOutputCharacterW.arg.4=LPDWORD,lpNumberOfCharsWritten
func.FillConsoleOutputCharacterW.ret=BOOL

FlushConsoleInputBuffer=func
func.FlushConsoleInputBuffer.args=1
func.FlushConsoleInputBuffer.arg.0=HANDLE,hConsoleInput
func.FlushConsoleInputBuffer.ret=BOOL

GenerateConsoleCtrlEvent=func
func.GenerateConsoleCtrlEvent.args=2
func.GenerateConsoleCtrlEvent.arg.0=DWORD,dwCtrlEvent
func.GenerateConsoleCtrlEvent.arg.1=DWORD,dwProcessGroupId
func.GenerateConsoleCtrlEvent.ret=BOOL

GetConsoleCursorInfo=func
func.GetConsoleCursorInfo.args=2
func.GetConsoleCursorInfo.arg.0=HANDLE,hConsoleOutput
func.GetConsoleCursorInfo.arg.1=PCONSOLE_CURSOR_INFO,lpConsoleCursorInfo
func.GetConsoleCursorInfo.ret=BOOL

GetConsoleOriginalTitleA=func
func.GetConsoleOriginalTitleA.args=2
func.GetConsoleOriginalTitleA.arg.0=LPSTR,lpConsoleTitle
func.GetConsoleOriginalTitleA.arg.1=DWORD,nSize
func.GetConsoleOriginalTitleA.ret=DWORD

GetConsoleOriginalTitleW=func
func.GetConsoleOriginalTitleW.args=2
func.GetConsoleOriginalTitleW.arg.0=LPWSTR,lpConsoleTitle
func.GetConsoleOriginalTitleW.arg.1=DWORD,nSize
func.GetConsoleOriginalTitleW.ret=DWORD

GetConsoleScreenBufferInfo=func
func.GetConsoleScreenBufferInfo.args=2
func.GetConsoleScreenBufferInfo.arg.0=HANDLE,hConsoleOutput
func.GetConsoleScreenBufferInfo.arg.1=PCONSOLE_SCREEN_BUFFER_INFO,lpConsoleScreenBufferInfo
func.GetConsoleScreenBufferInfo.ret=BOOL

GetConsoleScreenBufferInfoEx=func
func.GetConsoleScreenBufferInfoEx.args=2
func.GetConsoleScreenBufferInfoEx.arg.0=HANDLE,hConsoleOutput
func.GetConsoleScreenBufferInfoEx.arg.1=PCONSOLE_SCREEN_BUFFER_INFOEX,lpConsoleScreenBufferInfoEx
func.GetConsoleScreenBufferInfoEx.ret=BOOL

GetConsoleTitleA=func
func.GetConsoleTitleA.args=2
func.GetConsoleTitleA.arg.0=LPSTR,lpConsoleTitle
func.GetConsoleTitleA.arg.1=DWORD,nSize
func.GetConsoleTitleA.ret=DWORD

GetConsoleTitleW=func
func.GetConsoleTitleW.args=2
func.GetConsoleTitleW.arg.0=LPWSTR,lpConsoleTitle
func.GetConsoleTitleW.arg.1=DWORD,nSize
func.GetConsoleTitleW.ret=DWORD

GetLargestConsoleWindowSize=func
func.GetLargestConsoleWindowSize.args=1
func.GetLargestConsoleWindowSize.arg.0=HANDLE,hConsoleOutput
func.GetLargestConsoleWindowSize.ret=COORD

ReadConsoleOutputA=func
func.ReadConsoleOutputA.args=5
func.ReadConsoleOutputA.arg.0=HANDLE,hConsoleOutput
func.ReadConsoleOutputA.arg.1=PCHAR_INFO,lpBuffer
func.ReadConsoleOutputA.arg.2=COORD,dwBufferSize
func.ReadConsoleOutputA.arg.3=COORD,dwBufferCoord
func.ReadConsoleOutputA.arg.4=PSMALL_RECT,lpReadRegion
func.ReadConsoleOutputA.ret=BOOL

ReadConsoleOutputAttribute=func
func.ReadConsoleOutputAttribute.args=5
func.ReadConsoleOutputAttribute.arg.0=HANDLE,hConsoleOutput
func.ReadConsoleOutputAttribute.arg.1=LPWORD,lpAttribute
func.ReadConsoleOutputAttribute.arg.2=DWORD,nLength
func.ReadConsoleOutputAttribute.arg.3=COORD,dwReadCoord
func.ReadConsoleOutputAttribute.arg.4=LPDWORD,lpNumberOfAttrsRead
func.ReadConsoleOutputAttribute.ret=BOOL

ReadConsoleOutputCharacterA=func
func.ReadConsoleOutputCharacterA.args=5
func.ReadConsoleOutputCharacterA.arg.0=HANDLE,hConsoleOutput
func.ReadConsoleOutputCharacterA.arg.1=LPSTR,lpCharacter
func.ReadConsoleOutputCharacterA.arg.2=DWORD,nLength
func.ReadConsoleOutputCharacterA.arg.3=COORD,dwReadCoord
func.ReadConsoleOutputCharacterA.arg.4=LPDWORD,lpNumberOfCharsRead
func.ReadConsoleOutputCharacterA.ret=BOOL

ReadConsoleOutputCharacterW=func
func.ReadConsoleOutputCharacterW.args=5
func.ReadConsoleOutputCharacterW.arg.0=HANDLE,hConsoleOutput
func.ReadConsoleOutputCharacterW.arg.1=LPWSTR,lpCharacter
func.ReadConsoleOutputCharacterW.arg.2=DWORD,nLength
func.ReadConsoleOutputCharacterW.arg.3=COORD,dwReadCoord
func.ReadConsoleOutputCharacterW.arg.4=LPDWORD,lpNumberOfCharsRead
func.ReadConsoleOutputCharacterW.ret=BOOL

ReadConsoleOutputW=func
func.ReadConsoleOutputW.args=5
func.ReadConsoleOutputW.arg.0=HANDLE,hConsoleOutput
func.ReadConsoleOutputW.arg.1=PCHAR_INFO,lpBuffer
func.ReadConsoleOutputW.arg.2=COORD,dwBufferSize
func.ReadConsoleOutputW.arg.3=COORD,dwBufferCoord
func.ReadConsoleOutputW.arg.4=PSMALL_RECT,lpReadRegion
func.ReadConsoleOutputW.ret=BOOL

ScrollConsoleScreenBufferA=func
func.ScrollConsoleScreenBufferA.args=5
func.ScrollConsoleScreenBufferA.arg.0=HANDLE,hConsoleOutput
func.ScrollConsoleScreenBufferA.arg.1=const SMALL_RECT *,lpScrollRectangle
func.ScrollConsoleScreenBufferA.arg.2=const SMALL_RECT *,lpClipRectangle
func.ScrollConsoleScreenBufferA.arg.3=COORD,dwDestinationOrigin
func.ScrollConsoleScreenBufferA.arg.4=const CHAR_INFO *,lpFill
func.ScrollConsoleScreenBufferA.ret=BOOL

ScrollConsoleScreenBufferW=func
func.ScrollConsoleScreenBufferW.args=5
func.ScrollConsoleScreenBufferW.arg.0=HANDLE,hConsoleOutput
func.ScrollConsoleScreenBufferW.arg.1=const SMALL_RECT *,lpScrollRectangle
func.ScrollConsoleScreenBufferW.arg.2=const SMALL_RECT *,lpClipRectangle
func.ScrollConsoleScreenBufferW.arg.3=COORD,dwDestinationOrigin
func.ScrollConsoleScreenBufferW.arg.4=const CHAR_INFO *,lpFill
func.ScrollConsoleScreenBufferW.ret=BOOL

SetConsoleActiveScreenBuffer=func
func.SetConsoleActiveScreenBuffer.args=1
func.SetConsoleActiveScreenBuffer.arg.0=HANDLE,hConsoleOutput
func.SetConsoleActiveScreenBuffer.ret=BOOL

SetConsoleCP=func
func.SetConsoleCP.args=1
func.SetConsoleCP.arg.0=UINT,wCodePageID
func.SetConsoleCP.ret=BOOL

SetConsoleCursorInfo=func
func.SetConsoleCursorInfo.args=2
func.SetConsoleCursorInfo.arg.0=HANDLE,hConsoleOutput
func.SetConsoleCursorInfo.arg.1=const CONSOLE_CURSOR_INFO *,lpConsoleCursorInfo
func.SetConsoleCursorInfo.ret=BOOL

SetConsoleCursorPosition=func
func.SetConsoleCursorPosition.args=2
func.SetConsoleCursorPosition.arg.0=HANDLE,hConsoleOutput
func.SetConsoleCursorPosition.arg.1=COORD,dwCursorPosition
func.SetConsoleCursorPosition.ret=BOOL

SetConsoleOutputCP=func
func.SetConsoleOutputCP.args=1
func.SetConsoleOutputCP.arg.0=UINT,wCodePageID
func.SetConsoleOutputCP.ret=BOOL

SetConsoleScreenBufferInfoEx=func
func.SetConsoleScreenBufferInfoEx.args=2
func.SetConsoleScreenBufferInfoEx.arg.0=HANDLE,hConsoleOutput
func.SetConsoleScreenBufferInfoEx.arg.1=PCONSOLE_SCREEN_BUFFER_INFOEX,lpConsoleScreenBufferInfoEx
func.SetConsoleScreenBufferInfoEx.ret=BOOL

SetConsoleScreenBufferSize=func
func.SetConsoleScreenBufferSize.args=2
func.SetConsoleScreenBufferSize.arg.0=HANDLE,hConsoleOutput
func.SetConsoleScreenBufferSize.arg.1=COORD,dwSize
func.SetConsoleScreenBufferSize.ret=BOOL

SetConsoleTextAttribute=func
func.SetConsoleTextAttribute.args=2
func.SetConsoleTextAttribute.arg.0=HANDLE,hConsoleOutput
func.SetConsoleTextAttribute.arg.1=WORD,wAttributes
func.SetConsoleTextAttribute.ret=BOOL

SetConsoleTitleA=func
func.SetConsoleTitleA.args=1
func.SetConsoleTitleA.arg.0=LPCSTR,lpConsoleTitle
func.SetConsoleTitleA.ret=BOOL

SetConsoleTitleW=func
func.SetConsoleTitleW.args=1
func.SetConsoleTitleW.arg.0=LPCWSTR,lpConsoleTitle
func.SetConsoleTitleW.ret=BOOL

SetConsoleWindowInfo=func
func.SetConsoleWindowInfo.args=3
func.SetConsoleWindowInfo.arg.0=HANDLE,hConsoleOutput
func.SetConsoleWindowInfo.arg.1=BOOL,bAbsolute
func.SetConsoleWindowInfo.arg.2=const SMALL_RECT *,lpConsoleWindow
func.SetConsoleWindowInfo.ret=BOOL

WriteConsoleInputA=func
func.WriteConsoleInputA.args=4
func.WriteConsoleInputA.arg.0=HANDLE,hConsoleInput
func.WriteConsoleInputA.arg.1=const INPUT_RECORD *,lpBuffer
func.WriteConsoleInputA.arg.2=DWORD,nLength
func.WriteConsoleInputA.arg.3=LPDWORD,lpNumberOfEventsWritten
func.WriteConsoleInputA.ret=BOOL

WriteConsoleInputW=func
func.WriteConsoleInputW.args=4
func.WriteConsoleInputW.arg.0=HANDLE,hConsoleInput
func.WriteConsoleInputW.arg.1=const INPUT_RECORD *,lpBuffer
func.WriteConsoleInputW.arg.2=DWORD,nLength
func.WriteConsoleInputW.arg.3=LPDWORD,lpNumberOfEventsWritten
func.WriteConsoleInputW.ret=BOOL

WriteConsoleOutputA=func
func.WriteConsoleOutputA.args=5
func.WriteConsoleOutputA.arg.0=HANDLE,hConsoleOutput
func.WriteConsoleOutputA.arg.1=const CHAR_INFO *,lpBuffer
func.WriteConsoleOutputA.arg.2=COORD,dwBufferSize
func.WriteConsoleOutputA.arg.3=COORD,dwBufferCoord
func.WriteConsoleOutputA.arg.4=PSMALL_RECT,lpWriteRegion
func.WriteConsoleOutputA.ret=BOOL

WriteConsoleOutputAttribute=func
func.WriteConsoleOutputAttribute.args=5
func.WriteConsoleOutputAttribute.arg.0=HANDLE,hConsoleOutput
func.WriteConsoleOutputAttribute.arg.1=const WORD *,lpAttribute
func.WriteConsoleOutputAttribute.arg.2=DWORD,nLength
func.WriteConsoleOutputAttribute.arg.3=COORD,dwWriteCoord
func.WriteConsoleOutputAttribute.arg.4=LPDWORD,lpNumberOfAttrsWritten
func.WriteConsoleOutputAttribute.ret=BOOL

WriteConsoleOutputCharacterA=func
func.WriteConsoleOutputCharacterA.args=5
func.WriteConsoleOutputCharacterA.arg.0=HANDLE,hConsoleOutput
func.WriteConsoleOutputCharacterA.arg.1=LPCSTR,lpCharacter
func.WriteConsoleOutputCharacterA.arg.2=DWORD,nLength
func.WriteConsoleOutputCharacterA.arg.3=COORD,dwWriteCoord
func.WriteConsoleOutputCharacterA.arg.4=LPDWORD,lpNumberOfCharsWritten
func.WriteConsoleOutputCharacterA.ret=BOOL

WriteConsoleOutputCharacterW=func
func.WriteConsoleOutputCharacterW.args=5
func.WriteConsoleOutputCharacterW.arg.0=HANDLE,hConsoleOutput
func.WriteConsoleOutputCharacterW.arg.1=LPCWSTR,lpCharacter
func.WriteConsoleOutputCharacterW.arg.2=DWORD,nLength
func.WriteConsoleOutputCharacterW.arg.3=COORD,dwWriteCoord
func.WriteConsoleOutputCharacterW.arg.4=LPDWORD,lpNumberOfCharsWritten
func.WriteConsoleOutputCharacterW.ret=BOOL

WriteConsoleOutputW=func
func.WriteConsoleOutputW.args=5
func.WriteConsoleOutputW.arg.0=HANDLE,hConsoleOutput
func.WriteConsoleOutputW.arg.1=const CHAR_INFO *,lpBuffer
func.WriteConsoleOutputW.arg.2=COORD,dwBufferSize
func.WriteConsoleOutputW.arg.3=COORD,dwBufferCoord
func.WriteConsoleOutputW.arg.4=PSMALL_RECT,lpWriteRegion
func.WriteConsoleOutputW.ret=BOOL
