okno risuetza Direct3D i nahoditza sa drugim oknom ispolsuy code : invoke FindWindow,NULL,addr window mov windhand,eax invoke GetWindowRect,windhand,addr rect invoke GetDC,windhand mov hDC,eax invoke CreateCompatibleDC,hDC mov hDCMem,eax mov eax,rect.right sub eax,rect.left mov ecx,rect.bottom sub ecx,rect.top invoke CreateCompatibleBitmap,hDC,eax,ecx mov hbmp,eax invoke ReleaseDC,windhand,hDC invoke SelectObject,hDCMem,hbmp mov hOld,eax invoke LoadLibraryA, addr szlib or eax,eax jnz @F Invoke MessageBox, hwnd, addr Bad1, addr Bad1 , MB_OK+MB_ICONWARNING ret @@: invoke GetProcAddress, eax, addr szfunc or eax, eax jnz @F Invoke MessageBox, hwnd, addr Bad1, addr Bad1 , MB_OK+MB_ICONWARNING ret @@: push 0 ;; flags push hDCMem ;; hdc push windhand ;; hwnd call eax ;PrintWindow ;========================================================= invoke GetPixel,hDCMem,500,170 mov colBlue,eax shr colBlue,16 and colBlue,0FFh invoke dwtoa,colBlue,addr szBuffer Invoke MessageBox, hwnd, addr szBuffer, addr szBuffer , MB_OK+MB_ICONWARNING cmp colBlue, 200 je @F Invoke MessageBox, hwnd, addr Bad, addr Bad , MB_OK+MB_ICONWARNING @@: Invoke MessageBox, hwnd, addr good, addr good , MB_OK+MB_ICONWARNING ;========================================================== invoke SelectObject,hDCMem,hOld invoke DeleteObject,hDCMem invoke OpenClipboard,windhand invoke EmptyClipboard invoke SetClipboardData,CF_BITMAP,hbmp invoke CloseClipboard