Re: A little DirectX help
With LPDIRECTDRAWSURFACE4 pointers and the IDirectDrawSurface4 Interface there are
IDirectDrawSurface4::GetDC() and IDirectDrawSurface4::Release() functions you will find useful. The main problem is that this function takes the Win16 Mutex, so DON'T Try to debug into your code between GetDC() and ReleaseDC();
Once you've got a dc you can just draw 2 black rectangles on eather side... I'm sure you can figure this out.
Just make sure that you don't set breakpoints or step into your code between GetDC() and ReleaseDC() or you'll hose the machine.