2 * DDEML library definitions
4 * Copyright 1997 Alexandre Julliard
5 * Copyright 1997 Len White
8 #ifndef __WINE__DDEML_H
9 #define __WINE__DDEML_H
13 typedef DWORD HCONVLIST;
16 typedef DWORD HDDEDATA;
18 typedef HDDEDATA (CALLBACK *PFNCALLBACK16)(UINT16,UINT16,HCONV,HSZ,HSZ,
19 HDDEDATA,DWORD,DWORD);
20 typedef HDDEDATA (CALLBACK *PFNCALLBACK32)(UINT32,UINT32,HCONV,HSZ,HSZ,
21 HDDEDATA,DWORD,DWORD);
22 DECL_WINELIB_TYPE(PFNCALLBACK);
32 } CONVCONTEXT16, *LPCONVCONTEXT16;
42 } CONVCONTEXT32, *LPCONVCONTEXT32;
44 DECL_WINELIB_TYPE(CONVCONTEXT);
45 DECL_WINELIB_TYPE(LPCONVCONTEXT);
47 UINT16 WINAPI DdeInitialize16(LPDWORD,PFNCALLBACK16,DWORD,DWORD);
48 UINT32 WINAPI DdeInitialize32A(LPDWORD,PFNCALLBACK32,DWORD,DWORD);
49 UINT32 WINAPI DdeInitialize32W(LPDWORD,PFNCALLBACK32,DWORD,DWORD);
50 #define DdeInitialize WINELIB_NAME_AW(DdeInitialize)
51 BOOL16 WINAPI DdeUninitialize16(DWORD);
52 BOOL32 WINAPI DdeUninitialize32(DWORD);
53 #define DdeUninitialize WINELIB_NAME(DdeUninitialize)
54 HCONVLIST WINAPI DdeConnectList16(DWORD,HSZ,HSZ,HCONVLIST,LPCONVCONTEXT16);
55 HCONVLIST WINAPI DdeConnectList32(DWORD,HSZ,HSZ,HCONVLIST,LPCONVCONTEXT32);
56 #define DdeConnectList WINELIB_NAME(DdeConnectList)
57 HCONV WINAPI DdeQueryNextServer(HCONVLIST, HCONV);
58 BOOL16 WINAPI DdeDisconnectList16(HCONVLIST);
59 BOOL32 WINAPI DdeDisconnectList32(HCONVLIST);
60 #define DdeDisConnectList WINELIB_NAME(DdeDisconnectList)
61 HCONV WINAPI DdeConnect16(DWORD,HSZ,HSZ,LPCONVCONTEXT16);
62 HCONV WINAPI DdeConnect32(DWORD,HSZ,HSZ,LPCONVCONTEXT32);
63 #define DdeConnect WINELIB_NAME(DdeConnect)
64 BOOL16 WINAPI DdeDisconnect16(HCONV);
65 BOOL32 WINAPI DdeDisconnect32(HCONV);
66 #define DdeDisconnect WINELIB_NAME(DdeDisconnect)
67 BOOL16 WINAPI DdeSetUserHandle(HCONV,DWORD,DWORD);
68 HDDEDATA WINAPI DdeCreateHandleData(DWORD,LPBYTE,DWORD,DWORD,HSZ,UINT16,UINT16);
69 HCONV WINAPI DdeReconnect(HCONV);
70 HSZ WINAPI DdeCreateStringHandle16(DWORD,LPCSTR,INT16);
71 HSZ WINAPI DdeCreateStringHandle32A(DWORD,LPCSTR,INT32);
72 HSZ WINAPI DdeCreateStringHandle32W(DWORD,LPCWSTR,INT32);
73 #define DdeCreateStringHandle WINELIB_NAME_AW(DdeCreateStringHandle)
74 BOOL16 WINAPI DdeFreeStringHandle16(DWORD,HSZ);
75 BOOL32 WINAPI DdeFreeStringHandle32(DWORD,HSZ);
76 #define DdeFreeStringHandle WINELIB_NAME(DdeFreeStringHandle)
77 BOOL16 WINAPI DdeFreeDataHandle16(HDDEDATA);
78 BOOL32 WINAPI DdeFreeDataHandle32(HDDEDATA);
79 #define DdeFreeDataHandle WINELIB_NAME(DdeFreeDataHandle)
80 BOOL16 WINAPI DdeKeepStringHandle16(DWORD,HSZ);
81 BOOL32 WINAPI DdeKeepStringHandle32(DWORD,HSZ);
82 #define DdeKeepStringHandle WINELIB_NAME(DdeKeepStringHandle)
83 HDDEDATA WINAPI DdeClientTransaction16(LPVOID,DWORD,HCONV,HSZ,UINT16,
84 UINT16,DWORD,LPDWORD);
85 HDDEDATA WINAPI DdeClientTransaction32(LPBYTE,DWORD,HCONV,HSZ,UINT32,
86 UINT32,DWORD,LPDWORD);
87 #define DdeClientTransaction WINELIB_NAME(DdeClientTransaction)
88 BOOL16 WINAPI DdeAbandonTransaction(DWORD,HCONV,DWORD);
89 BOOL16 WINAPI DdePostAdvise16(DWORD,HSZ,HSZ);
90 BOOL32 WINAPI DdePostAdvise32(DWORD,HSZ,HSZ);
91 #define DdePostAdvise WINELIB_NAME(DdePostAdvise)
92 HDDEDATA WINAPI DdeAddData(HDDEDATA,LPBYTE,DWORD,DWORD);
93 DWORD WINAPI DdeGetData(HDDEDATA,LPBYTE,DWORD,DWORD);
94 LPBYTE WINAPI DdeAccessData(HDDEDATA,LPDWORD);
95 BOOL16 WINAPI DdeUnaccessData(HDDEDATA);
96 BOOL16 WINAPI DdeEnableCallback(DWORD,HCONV,UINT16);
97 int WINAPI DdeCmpStringHandles(HSZ,HSZ);
100 HDDEDATA WINAPI DdeNameService16(DWORD,HSZ,HSZ,UINT16);
101 HDDEDATA WINAPI DdeNameService32(DWORD,HSZ,HSZ,UINT32);
102 #define DdeNameService WINELIB_NAME(DdeNameService)
103 UINT16 WINAPI DdeGetLastError16(DWORD);
104 UINT32 WINAPI DdeGetLastError32(DWORD);
105 #define DdeGetLastError WINELIB_NAME(DdeGetLastError)
107 #endif /* __WINE__DDEML_H */