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
DdeQueryNextServer16(HCONVLIST
, HCONV
);
58 HCONV WINAPI
DdeQueryNextServer32(HCONVLIST
, HCONV
);
59 #define DdeQueryNextServer WINELIB_NAME(DdeQueryNextServer)
60 BOOL16 WINAPI
DdeDisconnectList16(HCONVLIST
);
61 BOOL32 WINAPI
DdeDisconnectList32(HCONVLIST
);
62 #define DdeDisConnectList WINELIB_NAME(DdeDisconnectList)
63 HCONV WINAPI
DdeConnect16(DWORD
,HSZ
,HSZ
,LPCONVCONTEXT16
);
64 HCONV WINAPI
DdeConnect32(DWORD
,HSZ
,HSZ
,LPCONVCONTEXT32
);
65 #define DdeConnect WINELIB_NAME(DdeConnect)
66 BOOL16 WINAPI
DdeDisconnect16(HCONV
);
67 BOOL32 WINAPI
DdeDisconnect32(HCONV
);
68 #define DdeDisconnect WINELIB_NAME(DdeDisconnect)
69 BOOL16 WINAPI
DdeSetUserHandle(HCONV
,DWORD
,DWORD
);
70 HDDEDATA WINAPI
DdeCreateHandleData(DWORD
,LPBYTE
,DWORD
,DWORD
,HSZ
,UINT16
,UINT16
);
71 HCONV WINAPI
DdeReconnect(HCONV
);
72 HSZ WINAPI
DdeCreateStringHandle16(DWORD
,LPCSTR
,INT16
);
73 HSZ WINAPI
DdeCreateStringHandle32A(DWORD
,LPCSTR
,INT32
);
74 HSZ WINAPI
DdeCreateStringHandle32W(DWORD
,LPCWSTR
,INT32
);
75 #define DdeCreateStringHandle WINELIB_NAME_AW(DdeCreateStringHandle)
76 BOOL16 WINAPI
DdeFreeStringHandle16(DWORD
,HSZ
);
77 BOOL32 WINAPI
DdeFreeStringHandle32(DWORD
,HSZ
);
78 #define DdeFreeStringHandle WINELIB_NAME(DdeFreeStringHandle)
79 BOOL16 WINAPI
DdeFreeDataHandle16(HDDEDATA
);
80 BOOL32 WINAPI
DdeFreeDataHandle32(HDDEDATA
);
81 #define DdeFreeDataHandle WINELIB_NAME(DdeFreeDataHandle)
82 BOOL16 WINAPI
DdeKeepStringHandle16(DWORD
,HSZ
);
83 BOOL32 WINAPI
DdeKeepStringHandle32(DWORD
,HSZ
);
84 #define DdeKeepStringHandle WINELIB_NAME(DdeKeepStringHandle)
85 HDDEDATA WINAPI
DdeClientTransaction16(LPVOID
,DWORD
,HCONV
,HSZ
,UINT16
,
86 UINT16
,DWORD
,LPDWORD
);
87 HDDEDATA WINAPI
DdeClientTransaction32(LPBYTE
,DWORD
,HCONV
,HSZ
,UINT32
,
88 UINT32
,DWORD
,LPDWORD
);
89 #define DdeClientTransaction WINELIB_NAME(DdeClientTransaction)
90 BOOL16 WINAPI
DdeAbandonTransaction(DWORD
,HCONV
,DWORD
);
91 BOOL16 WINAPI
DdePostAdvise16(DWORD
,HSZ
,HSZ
);
92 BOOL32 WINAPI
DdePostAdvise32(DWORD
,HSZ
,HSZ
);
93 #define DdePostAdvise WINELIB_NAME(DdePostAdvise)
94 HDDEDATA WINAPI
DdeAddData(HDDEDATA
,LPBYTE
,DWORD
,DWORD
);
95 DWORD WINAPI
DdeGetData(HDDEDATA
,LPBYTE
,DWORD
,DWORD
);
96 LPBYTE WINAPI
DdeAccessData(HDDEDATA
,LPDWORD
);
97 BOOL16 WINAPI
DdeUnaccessData(HDDEDATA
);
98 BOOL16 WINAPI
DdeEnableCallback(DWORD
,HCONV
,UINT16
);
99 int WINAPI
DdeCmpStringHandles(HSZ
,HSZ
);
102 HDDEDATA WINAPI
DdeNameService16(DWORD
,HSZ
,HSZ
,UINT16
);
103 HDDEDATA WINAPI
DdeNameService32(DWORD
,HSZ
,HSZ
,UINT32
);
104 #define DdeNameService WINELIB_NAME(DdeNameService)
105 UINT16 WINAPI
DdeGetLastError16(DWORD
);
106 UINT32 WINAPI
DdeGetLastError32(DWORD
);
107 #define DdeGetLastError WINELIB_NAME(DdeGetLastError)
109 #endif /* __WINE__DDEML_H */