TerGetBufferDC
Get the handle of the buffer device context.
HDC TerGetBufferDC(hWnd)
HWND hWnd; | The handle of the window to be accessed |
Return Value: This function returns the handle of the internal buffer device context. The buffer device context is used internally to create a temporary image of the screen before actually transferring to the window. It returns NULL to indicate an error condition. It can also return NULL when the internal buffer is disabled by using the TerSetFlags function.
Please call the GetTerFields function to retrieve the actual device context of the editor window.