HRESULT DDCopyBitmap(IDirectDrawSurface *pSurface, HBITMAP hBitmap, int x, int y, int nWidth, int nHeight)
Restore a surface and stretch a part of a bitmap over all of it.
IDirectDrawSurface * DDLoadBitmap(IDirectDraw2 *pDirectDraw, LPCSTR pszBitmap, int nWidth, int nHeight, DDSURFACEDESC *pDesc)
Create an off-screen surface and copy a bitmap into it.
HRESULT DDReLoadBitmap(IDirectDrawSurface *pSurface, LPCSTR pszBitmap)
Copy a bitmap into a surface again, as after the surface is restored.
HRESULT DDSetColorKey(IDirectDrawSurface *pSurface, COLORREF color)
Make a colour the source colour key of a surface.
DWORD DDColorMatch(IDirectDrawSurface *pSurface, COLORREF color)
Find the pixel value of a surface for a colour, by drawing the colour at the top left of the surface ...