Indeed `OleSetClipboard` fails.
Bug 1726269 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Indeed `OleSetClipboard` fails. It returns a value different from `S_OK`, which should've been returned on success (see https://docs.microsoft.com/en-us/windows/win32/api/ole2/nf-ole2-olesetclipboard#return-value).