Searched refs:DDSD (Results 1 – 1 of 1) sorted by relevance
346 DDSURFACEDESC DDSD; in screenshot() local347 DDSD.dwSize = sizeof(DDSD); in screenshot()349 long result = frontBuffer->Lock(0, &DDSD, DDLOCK_WAIT, 0); in screenshot()353 int width = DDSD.dwWidth; in screenshot()354 int height = DDSD.dwHeight; in screenshot()355 int stride = DDSD.lPitch; in screenshot()357 void *sourceBuffer = DDSD.lpSurface; in screenshot()417 DDSURFACEDESC DDSD; in lock() local418 DDSD.dwSize = sizeof(DDSD); in lock()420 long result = backBuffer->Lock(0, &DDSD, DDLOCK_WAIT, 0); in lock()[all …]