Lines Matching refs:lpCanCreateSurface
25 DWORD APIENTRY VBoxDispDDCanCreateSurface(PDD_CANCREATESURFACEDATA lpCanCreateSurface)
27 PVBOXDISPDEV pDev = (PVBOXDISPDEV) lpCanCreateSurface->lpDD->dhpdev;
30 PDD_SURFACEDESC lpDDS = lpCanCreateSurface->lpDDSurfaceDesc;
41 lpCanCreateSurface->ddRVal = DDERR_INVALIDCAPS;
49 lpCanCreateSurface->ddRVal = DDERR_INVALIDPIXELFORMAT;
61 pBody->u.in.bIsDifferentPixelFormat = lpCanCreateSurface->bIsDifferentPixelFormat;
70 lpCanCreateSurface->ddRVal = DDERR_GENERIC;
74 lpCanCreateSurface->ddRVal = DD_OK;
80 lpCanCreateSurface->ddRVal = DDERR_GENERIC;
87 lpCanCreateSurface->ddRVal = DDERR_GENERIC;
96 lpCanCreateSurface->ddRVal = DDERR_UNSUPPORTED;
102 lpCanCreateSurface->ddRVal = DDERR_UNSUPPORTED;
105 if (lpCanCreateSurface->bIsDifferentPixelFormat && (lpDDS->ddpfPixelFormat.dwFlags & DDPF_FOURCC))
108 lpCanCreateSurface->ddRVal = DDERR_UNSUPPORTED;
112 lpCanCreateSurface->ddRVal = DD_OK;