This example gets a bitmap from the clipboard and writes it to the data file. If the clipboard does not contain a bitmap, the data file is not updated.
_wpRenderFromClipboard(BitmapFile,CF_BITMAP);