4 * Copyright 1998-1999 Patrik Stridvall
11 /**********************************************************************/
13 char *TTYDRV_CLIPBOARD_szSelection
= NULL
;
15 /***********************************************************************
16 * TTYDRV_CLIPBOARD_Acquire
18 void TTYDRV_CLIPBOARD_Acquire()
22 /***********************************************************************
23 * TTYDRV_CLIPBOARD_Release
25 void TTYDRV_CLIPBOARD_Release()
27 if(TTYDRV_CLIPBOARD_szSelection
)
29 HeapFree(SystemHeap
, 0, TTYDRV_CLIPBOARD_szSelection
);
30 TTYDRV_CLIPBOARD_szSelection
= NULL
;
34 /***********************************************************************
35 * TTYDRV_CLIPBOARD_SetData
37 void TTYDRV_CLIPBOARD_SetData(UINT wFormat
)
41 /***********************************************************************
42 * TTYDRV_CLIPBOARD_GetData
44 BOOL
TTYDRV_CLIPBOARD_GetData(UINT wFormat
)
49 /***********************************************************************
50 * TTYDRV_CLIPBOARD_IsFormatAvailable
52 BOOL
TTYDRV_CLIPBOARD_IsFormatAvailable(UINT wFormat
)
57 /**************************************************************************
58 * TTYDRV_CLIPBOARD_RegisterFormat
60 * Registers a custom clipboard format
61 * Returns: TRUE - new format registered, FALSE - Format already registered
63 BOOL
TTYDRV_CLIPBOARD_RegisterFormat( LPCSTR FormatName
)
68 /**************************************************************************
69 * TTYDRV_CLIPBOARD_IsSelectionowner
71 * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
73 BOOL
TTYDRV_CLIPBOARD_IsSelectionowner()
78 /***********************************************************************
79 * TTYDRV_CLIPBOARD_ResetOwner
81 void TTYDRV_CLIPBOARD_ResetOwner(WND
*pWnd
, BOOL bFooBar
)