2 * DDEML 16-bit library definitions
4 * Copyright 1997 Alexandre Julliard
5 * Copyright 1997 Len White
8 #ifndef __WINE_WINE_DDEML16_H
9 #define __WINE_WINE_DDEML16_H
12 #include "wine/windef16.h"
14 #define QID_SYNC16 -1L
16 typedef HDDEDATA CALLBACK (*PFNCALLBACK16)(UINT16,UINT16,HCONV,HSZ,HSZ,HDDEDATA,DWORD,DWORD);
18 /***************************************************
20 Externally visible data structures
22 ***************************************************/
32 } CONVCONTEXT16, *LPCONVCONTEXT16;
49 CONVCONTEXT16 ConvCtxt;
50 } CONVINFO16, *LPCONVINFO16;
52 /* Interface Definitions */
54 UINT16 WINAPI DdeInitialize16(LPDWORD,PFNCALLBACK16,DWORD,DWORD);
55 BOOL16 WINAPI DdeUninitialize16(DWORD);
56 HCONVLIST WINAPI DdeConnectList16(DWORD,HSZ,HSZ,HCONVLIST,LPCONVCONTEXT16);
57 HCONV WINAPI DdeQueryNextServer16(HCONVLIST, HCONV);
58 BOOL16 WINAPI DdeDisconnectList16(HCONVLIST);
59 HCONV WINAPI DdeConnect16(DWORD,HSZ,HSZ,LPCONVCONTEXT16);
60 BOOL16 WINAPI DdeDisconnect16(HCONV);
61 BOOL16 WINAPI DdeSetUserHandle16(HCONV,DWORD,DWORD);
62 HDDEDATA WINAPI DdeCreateDataHandle16(DWORD,LPBYTE,DWORD,DWORD,HSZ,UINT16,UINT16);
63 HSZ WINAPI DdeCreateStringHandle16(DWORD,LPCSTR,INT16);
64 BOOL16 WINAPI DdeFreeStringHandle16(DWORD,HSZ);
65 BOOL16 WINAPI DdeFreeDataHandle16(HDDEDATA);
66 BOOL16 WINAPI DdeKeepStringHandle16(DWORD,HSZ);
67 HDDEDATA WINAPI DdeClientTransaction16(LPVOID,DWORD,HCONV,HSZ,UINT16,UINT16,DWORD,LPDWORD);
68 BOOL16 WINAPI DdeAbandonTransaction16(DWORD,HCONV,DWORD);
69 BOOL16 WINAPI DdePostAdvise16(DWORD,HSZ,HSZ);
70 HDDEDATA WINAPI DdeAddData16(HDDEDATA,LPBYTE,DWORD,DWORD);
71 LPBYTE WINAPI DdeAccessData16(HDDEDATA,LPDWORD);
72 BOOL16 WINAPI DdeUnaccessData16(HDDEDATA);
73 BOOL16 WINAPI DdeEnableCallback16(DWORD,HCONV,UINT16);
74 INT16 WINAPI DdeCmpStringHandles16(HSZ,HSZ);
75 HDDEDATA WINAPI DdeNameService16(DWORD,HSZ,HSZ,UINT16);
76 UINT16 WINAPI DdeGetLastError16(DWORD);
77 UINT16 WINAPI DdeQueryConvInfo16(HCONV,DWORD,LPCONVINFO16);
79 #endif /* __WINE_WINE_DDEML16_H */