to add winproc.cpp for GetWindowBmpBuffer