Lines Matching defs:selectedMode
187 VIDEO_MODE_INFORMATION *pModesTable = NULL, selectedMode;
193 memset(&selectedMode, 0, sizeof(VIDEO_MODE_INFORMATION));
207 memcpy(&selectedMode, &pModesTable[0], sizeof(VIDEO_MODE_INFORMATION));
218 memcpy(&selectedMode, &pModesTable[i], sizeof(VIDEO_MODE_INFORMATION));
233 selectedMode.VisScreenWidth, selectedMode.VisScreenHeight, selectedMode.BitsPerPlane, selectedMode.Frequency));
236 pDev->mode.ulIndex = selectedMode.ModeIndex;
237 pDev->mode.ulWidth = selectedMode.VisScreenWidth;
238 pDev->mode.ulHeight = selectedMode.VisScreenHeight;
239 pDev->mode.ulBitsPerPel = selectedMode.BitsPerPlane * selectedMode.NumberOfPlanes;
240 pDev->mode.lScanlineStride = selectedMode.ScreenStride;
241 pDev->mode.flMaskR = selectedMode.RedMask;
242 pDev->mode.flMaskG = selectedMode.GreenMask;
243 pDev->mode.flMaskB = selectedMode.BlueMask;
244 pDev->mode.ulPaletteShift = (pDev->mode.ulBitsPerPel==8) ? (8-selectedMode.NumberRedBits) : 0;
254 pGdiInfo->ulHorzSize = selectedMode.XMillimeter;
255 pGdiInfo->ulVertSize = selectedMode.YMillimeter;
261 pGdiInfo->cPlanes = selectedMode.NumberOfPlanes;
274 pGdiInfo->ulDACRed = selectedMode.NumberRedBits;
275 pGdiInfo->ulDACGreen = selectedMode.NumberGreenBits;
276 pGdiInfo->ulDACBlue = selectedMode.NumberBlueBits;
332 pGdiInfo->ulVRefresh = selectedMode.Frequency;