You can use the API Viewer to see how to declare BitBlt... there are lots of articles on that around the net so just search a bit