Coder's Guild Mailing List

Yet another DirectX question

Posted by Fabian Cordes on 2000-03-12

Can someone who knows to code with DirectX tell me why this code returns me
an DDERR_INVALIDPARAMS ?

lpDDSBack is a valid surface

HRESULT ddres;
LPDIRECTDRAWSURFACE lpDDSBack;
DDSURFACEDESC ddsd;

 ddres = lpDDSBack->Lock (NULL, &ddsd, 0, NULL);

thx in advance...
To signoff send a mail to listserver@xxxx.xx.xx with 
  "signoff tcg" in the body of your message.