Searched refs:tmpBitmap (Results 1 – 1 of 1) sorted by relevance
624 HBITMAP tmpBitmap = nullptr; in takeScreenshot() local646 tmpBitmap = CreateCompatibleBitmap(screenDC, mWidth, mHeight); in takeScreenshot()647 error = tmpBitmap == nullptr; in takeScreenshot()658 error = SelectObject(tmpDC, tmpBitmap) == nullptr; in takeScreenshot()680 int getBitsResult = GetDIBits(screenDC, tmpBitmap, 0, mHeight, pixelData, in takeScreenshot()685 if (tmpBitmap != nullptr) in takeScreenshot()687 DeleteObject(tmpBitmap); in takeScreenshot()