Tells the console that a part of a graphic buffer has been updated
Syntax
DWORD WINAPI InvalidateConsoleDIBits (
HANDLE hGraphicsBuffer,
SMALL_RECT* pRc
)
Parameters
- hGraphicsBuffer
- The console screen graphics buffer that has been updated
- pRc
- Pointer to a rect that specifies the region of pixels that has changed
Return Value
TRUE if the function succeeds, FALSE if it fails, for more information see GetLastError(). On XP & Vista, the function returns ERROR_INVALID_ACCESS if you pass a NULL rectangle
Remarks
Console graphic buffers can be created with CreateConsoleScreenBuffer