DECLAREINTEGER ChangeClipboardChain IN user32;
[in] Handle to the window to be removed from the chain. The handle must have been passed to the SetClipboardViewer function.
[in] Handle to the window that follows the hWndRemove window in the clipboard viewer chain.
... is indecisive.
It indicates the result of passing the WM_CHANGECBCHAIN message to the windows in the clipboard viewer chain. Because a window in the chain typically returns FALSE when it processes WM_CHANGECBCHAIN, the return value from ChangeClipboardChain is typically FALSE.
The window identified by hWndNewNext replaces the hWndRemove window in the chain. The SetClipboardViewer function sends a WM_CHANGECBCHAIN message to the first window in the clipboard viewer chain.