103 if (lpszFormat ==
NULL)
137 if (lpszFormat ==
NULL)
161 0, pwStr, cbStr /
sizeof(
WCHAR),
169 0, pwStr, cbStr /
sizeof(
WCHAR),
182 0, pwStr, cbStr,
NULL, 0) *
sizeof(
WCHAR);
189 0, pwStr, cbStr, pGlobal, cbGlobal);
219 if (
gcd.fGlobalHandle)
230 if (
gcd.uFmtRet != uFormat)
255 FIXME(
"Format: %u != %u\n", uFormat,
gcd.uFmtRet);
321 if (hRet == hTemp) hRet = hMem;
327 if (hRet == hTemp) hRet = hMem;
335 if (pMem || uFormat ==
CF_DIB || uFormat == CF_DIBV5 ||
372 ERR(
"SetClipboardData(%u, %p) failed\n", uFormat, hMem);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define CF_DSPENHMETAFILE
#define CF_DSPMETAFILEPICT
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
#define ERROR_NOT_ENOUGH_MEMORY
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
#define WideCharToMultiByte
#define MultiByteToWideChar
#define ERROR_INVALID_NAME
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
HGLOBAL NTAPI GlobalHandle(LPCVOID pMem)
LPVOID NTAPI GlobalLock(HGLOBAL hMem)
HGLOBAL NTAPI GlobalFree(HGLOBAL hMem)
BOOL NTAPI GlobalUnlock(HGLOBAL hMem)
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
SIZE_T NTAPI GlobalSize(HGLOBAL hMem)
UINT NTAPI NtUserRegisterWindowMessage(PUNICODE_STRING MessageName)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
NTSYSAPI BOOLEAN NTAPI RtlCreateUnicodeStringFromAsciiz(_Out_ PUNICODE_STRING Destination, _In_ PCSZ Source)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
_In_ ULONG _In_ ULONG _In_ ULONG Length
EXTINLINE UINT NtUserxEnumClipboardFormats(UINT format)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
NTSTATUS APIENTRY NtUserCreateLocalMemHandle(HANDLE hMem, PVOID pData, DWORD cbData, DWORD *pcbData)
HANDLE APIENTRY NtUserConvertMemHandle(PVOID pData, DWORD cbData)
HANDLE APIENTRY NtUserSetClipboardData(UINT fmt, HANDLE hData, PSETCLIPBDATA pUnsafeScd)
HANDLE APIENTRY NtUserGetClipboardData(UINT fmt, PGETCLIPBDATA pgcd)
INT APIENTRY NtUserGetClipboardFormatName(UINT fmt, LPWSTR lpszFormatName, INT cchMaxCount)
BOOL APIENTRY NtUserOpenClipboard(HWND hWnd, DWORD Unknown1)
HANDLE WINAPI GdiCreateLocalMetaFilePict(HANDLE)
static PVOID WINAPI IntSynthesizeWideChar(PVOID pwStr, DWORD cbStr, BOOL bOem)
BOOL WINAPI GetUpdatedClipboardFormats(PUINT lpuiFormats, UINT cFormats, PUINT pcFormatsOut)
BOOL WINAPI RemoveClipboardFormatListener(HWND hwnd)
BOOL WINAPI AddClipboardFormatListener(HWND hwnd)
HANDLE WINAPI GdiConvertMetaFilePict(HANDLE)
HANDLE WINAPI GdiConvertEnhMetaFile(HANDLE)
HANDLE WINAPI GdiCreateLocalEnhMetaFile(HANDLE)
static PVOID WINAPI IntSynthesizeMultiByte(PVOID pwStr, DWORD cbStr, BOOL bOem)
int WINAPI GetClipboardFormatNameA(_In_ UINT format, _Out_writes_(cchMaxCount) LPSTR lpszFormatName, _In_ int cchMaxCount)
BOOL WINAPI CharToOemBuffA(_In_ LPCSTR lpszSrc, _Out_writes_(cchDstLength) LPSTR lpszDst, _In_ DWORD cchDstLength)
HANDLE WINAPI SetClipboardData(_In_ UINT, _In_opt_ HANDLE)
UINT WINAPI RegisterClipboardFormatW(_In_ LPCWSTR)
BOOL WINAPI OpenClipboard(_In_opt_ HWND)
UINT WINAPI EnumClipboardFormats(_In_ UINT)
HANDLE WINAPI GetClipboardData(_In_ UINT)
int WINAPI GetClipboardFormatNameW(_In_ UINT format, _Out_writes_(cchMaxCount) LPWSTR lpszFormatName, _In_ int cchMaxCount)
UINT WINAPI RegisterClipboardFormatA(_In_ LPCSTR)
BOOL WINAPI OemToCharBuffA(_In_ LPCSTR lpszSrc, _Out_writes_(cchDstLength) LPSTR lpszDst, _In_ DWORD cchDstLength)