Code: Select all
SendMessage(HWindow, WM_PRINTCLIENT, HDC, 0);
Or I tryied:
Code: Select all
SendMessage(HCapture, WM_COMMAND, 0, HDc);
C2664: 'SendMessageW' : cannot convert parameter 4 from 'HDC' to 'LPARAM'
There is no context in which this conversion is possible