Lines Matching refs:err
195 int err;
218 err = SetMapMode(hMemoryDC, MM_TEXT);
219 if (err == 0) {
254 err = GetTextMetrics(hMemoryDC, &textMetric);
255 if (err == 0) {
261 err = GetGlyphOutline(hMemoryDC, glyphCode,
265 if (err == GDI_ERROR) {
356 err = ExtTextOutW(hMemoryDC, x, y, ETO_GLYPH_INDEX|ETO_OPAQUE,
358 if (err == 0) {
385 err = GetDIBits(hMemoryDC, hBitmap, 0, height, dibImage,
388 if (err == 0) { /* GetDIBits failed. */
392 err = SystemParametersInfo(SPI_GETFONTSMOOTHINGORIENTATION, 0, &orient, 0);
393 if (err == 0) {
396 err = SystemParametersInfo(SPI_GETFONTSMOOTHINGCONTRAST, 0, &gamma, 0);
397 if (err == 0) {