1 /***************************************************************************
2 * Copyright 1995, Technion, Israel Institute of Technology
3 * Electrical Eng, Software Lab.
4 * Author: Michael Veksler.
5 ***************************************************************************
7 * Purpose : shared DDE memory functionality for DDE
8 ***************************************************************************
10 #ifndef __WINE_DDE_MEM_H
11 #define __WINE_DDE_MEM_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 )
26 WORD
DDE_SyncHandle(HGLOBAL handle
, WORD sel
);
27 void *DDE_malloc(unsigned int flags
,unsigned long size
, SHMDATA
*shmdata
);
28 HANDLE
DDE_GlobalReAlloc(WORD
,long,WORD
);
29 HANDLE
DDE_GlobalFree(WORD block
);
30 void *DDE_AttachHandle(HGLOBAL handle
, SEGPTR
*segptr
);
31 WORD
DDE_GlobalHandleToSel( HGLOBAL handle
);
32 int DDE_GlobalUnlock(int);
33 HANDLE
DDE_GlobalSize(WORD
);
34 HANDLE
DDE_GlobalHandle(WORD
);
35 HANDLE
DDE_GlobalFlags(WORD
);
37 #endif /* CONFIG_IPC */
39 #endif /* __WINE_DDE_MEM_H */