Return Value

Return

Meaning

0

If the iFlags parameter is set to PASTE_ISREADY, this means that the clipboard does not contain a valid image. Otherwise, this means that the function was successful.

<>0

If the iFlags parameter is set to PASTE_ISREADY, this means that the clipboard contains a valid image. Otherwise, this means that an error occurred. Refer to Error Codes.