HWND pWnd = GetDesktopWindow();
HBITMAP bitmap;
HDC dc = GetWindowDC(pWnd);
HDC memDC;
memDC=CreateCompatibleDC(dc);
int ScreenWidth = GetDeviceCaps(dc, HORZRES);
int ScreenHeight = GetDeviceCaps(dc, VERTRES);
bitmap=CreateCompatibleBitmap(dc, ScreenWidth, ScreenHeight);
SelectObject(memDC,bitmap);
BitBlt(memDC, 0, 0, ScreenWidth,ScreenHeight, dc, 0, 0, SRCCOPY);
Euh, un truc dans le genre,paske la j'ai pas teste (attention comme tu le vois ca ne copie pas le bitmap dans un fichier(facile a faire),mais dans un HDC. Apres tu fais ce que tu veux.
Si j'ai oublie qulques chose dites le moi ;-)
Bye,Xentor609