- Fail UserSetClipboardData in case of 0 format, as shown by user32:clipboard test
svn path=/trunk/; revision=75024
* - in case of delayed rendering, the clipboard must be already opened
* by another application, but we need to be the clipboard owner.
*/
* - in case of delayed rendering, the clipboard must be already opened
* by another application, but we need to be the clipboard owner.
*/
- if ((!pWinStaObj->fInDelayedRendering && !IntIsClipboardOpenByMe(pWinStaObj)) ||
+ if (!fmt ||
+ (!pWinStaObj->fInDelayedRendering && !IntIsClipboardOpenByMe(pWinStaObj)) ||
(pWinStaObj->fInDelayedRendering && !(pWinStaObj->ptiClipLock &&
pWinStaObj->spwndClipOwner->head.pti == PsGetCurrentThreadWin32Thread())))
{
(pWinStaObj->fInDelayedRendering && !(pWinStaObj->ptiClipLock &&
pWinStaObj->spwndClipOwner->head.pti == PsGetCurrentThreadWin32Thread())))
{