Searched refs:hMem (Results 1 – 3 of 3) sorted by relevance
57 HANDLE hMem; in WIN_SetClipboardText() local77 hMem = GlobalAlloc(GMEM_MOVEABLE, size); in WIN_SetClipboardText()78 if (hMem) { in WIN_SetClipboardText()79 LPTSTR dst = (LPTSTR)GlobalLock(hMem); in WIN_SetClipboardText()89 GlobalUnlock(hMem); in WIN_SetClipboardText()93 if (!SetClipboardData(TEXT_FORMAT, hMem)) { in WIN_SetClipboardText()115 HANDLE hMem; in WIN_GetClipboardText() local118 hMem = GetClipboardData(TEXT_FORMAT); in WIN_GetClipboardText()119 if (hMem) { in WIN_GetClipboardText()120 tstr = (LPTSTR)GlobalLock(hMem); in WIN_GetClipboardText()[all …]
616 HGLOBAL DataObjectWin::DupGlobalMem(HGLOBAL hMem) { in DupGlobalMem() argument617 DWORD len = GlobalSize(hMem); in DupGlobalMem()618 PVOID source = GlobalLock(hMem); in DupGlobalMem()622 GlobalUnlock(hMem); in DupGlobalMem()
179 static HGLOBAL DupGlobalMem(HGLOBAL hMem);