Special case handling of : Shift + arrow, shift + home, ...
[wine.git] / include / dde_mem.h
blob09b382a4b90241e8286b0c77c6bcabf12f380dd5
1 /***************************************************************************
2 * Copyright 1995, Technion, Israel Institute of Technology
3 * Electrical Eng, Software Lab.
4 * Author: Michael Veksler.
5 ***************************************************************************
6 * File: dde_mem.h
7 * Purpose : shared DDE memory functionality for DDE
8 ***************************************************************************
9 */
10 #ifndef __WINE_DDE_MEM_H
11 #define __WINE_DDE_MEM_H
13 #ifdef CONFIG_IPC
15 #include "wintypes.h"
16 #include "global.h"
17 #include "shm_block.h"
19 #define DDE_HANDLES 0x0400
20 #define is_dde_handle(block) ( (block) >= (1<<15) && (block) < (1<<15)+DDE_HANDLES )
21 typedef struct {
22 int shmid;
23 REL_PTR rel;
24 }DDE_HWND;
26 WORD DDE_SyncHandle(HGLOBAL16 handle, WORD sel);
27 void *DDE_malloc(unsigned int flags,unsigned long size, SHMDATA *shmdata);
28 HANDLE16 DDE_GlobalReAlloc(WORD,long,WORD);
29 HGLOBAL16 DDE_GlobalFree(HGLOBAL16 block);
30 void *DDE_AttachHandle(HGLOBAL16 handle, SEGPTR *segptr);
31 WORD DDE_GlobalHandleToSel( HGLOBAL16 handle );
32 int DDE_GlobalUnlock(int);
33 HANDLE16 DDE_GlobalSize(WORD);
34 HANDLE16 DDE_GlobalHandle(WORD);
35 HANDLE16 DDE_GlobalFlags(WORD);
37 #endif /* CONFIG_IPC */
39 #endif /* __WINE_DDE_MEM_H */