2 * DDEML library definitions
4 * Copyright 1997 Alexandre Julliard
5 * Copyright 1997 Len White
8 #ifndef __WINE__DDEML_H
9 #define __WINE__DDEML_H
15 #define CP_WINANSI 1004
16 #define CP_WINUNICODE 1200
18 #define MSGF_DDEMGR 0x8001
20 typedef DWORD HCONVLIST
;
23 typedef DWORD HDDEDATA
;
25 typedef HDDEDATA (CALLBACK
*PFNCALLBACK16
)(UINT16
,UINT16
,HCONV
,HSZ
,HSZ
,
26 HDDEDATA
,DWORD
,DWORD
);
27 typedef HDDEDATA (CALLBACK
*PFNCALLBACK32
)(UINT32
,UINT32
,HCONV
,HSZ
,HSZ
,
28 HDDEDATA
,DWORD
,DWORD
);
29 DECL_WINELIB_TYPE(PFNCALLBACK
)
39 } CONVCONTEXT16
, *LPCONVCONTEXT16
;
49 } CONVCONTEXT32
, *LPCONVCONTEXT32
;
51 DECL_WINELIB_TYPE(CONVCONTEXT
)
52 DECL_WINELIB_TYPE(LPCONVCONTEXT
)
54 UINT16 WINAPI
DdeInitialize16(LPDWORD
,PFNCALLBACK16
,DWORD
,DWORD
);
55 UINT32 WINAPI
DdeInitialize32A(LPDWORD
,PFNCALLBACK32
,DWORD
,DWORD
);
56 UINT32 WINAPI
DdeInitialize32W(LPDWORD
,PFNCALLBACK32
,DWORD
,DWORD
);
57 #define DdeInitialize WINELIB_NAME_AW(DdeInitialize)
58 BOOL16 WINAPI
DdeUninitialize16(DWORD
);
59 BOOL32 WINAPI
DdeUninitialize32(DWORD
);
60 #define DdeUninitialize WINELIB_NAME(DdeUninitialize)
61 HCONVLIST WINAPI
DdeConnectList16(DWORD
,HSZ
,HSZ
,HCONVLIST
,LPCONVCONTEXT16
);
62 HCONVLIST WINAPI
DdeConnectList32(DWORD
,HSZ
,HSZ
,HCONVLIST
,LPCONVCONTEXT32
);
63 #define DdeConnectList WINELIB_NAME(DdeConnectList)
64 HCONV WINAPI
DdeQueryNextServer16(HCONVLIST
, HCONV
);
65 HCONV WINAPI
DdeQueryNextServer32(HCONVLIST
, HCONV
);
66 #define DdeQueryNextServer WINELIB_NAME(DdeQueryNextServer)
67 DWORD WINAPI
DdeQueryString32A(DWORD
, HSZ
, LPSTR
, DWORD
, INT32
);
68 DWORD WINAPI
DdeQueryString32W(DWORD
, HSZ
, LPWSTR
, DWORD
, INT32
);
69 #define DdeQueryString WINELIB_NAME_AW(DdeQueryString)
70 BOOL16 WINAPI
DdeDisconnectList16(HCONVLIST
);
71 BOOL32 WINAPI
DdeDisconnectList32(HCONVLIST
);
72 #define DdeDisConnectList WINELIB_NAME(DdeDisconnectList)
73 HCONV WINAPI
DdeConnect16(DWORD
,HSZ
,HSZ
,LPCONVCONTEXT16
);
74 HCONV WINAPI
DdeConnect32(DWORD
,HSZ
,HSZ
,LPCONVCONTEXT32
);
75 #define DdeConnect WINELIB_NAME(DdeConnect)
76 BOOL16 WINAPI
DdeDisconnect16(HCONV
);
77 BOOL32 WINAPI
DdeDisconnect32(HCONV
);
78 #define DdeDisconnect WINELIB_NAME(DdeDisconnect)
79 BOOL16 WINAPI
DdeSetUserHandle(HCONV
,DWORD
,DWORD
);
80 HDDEDATA WINAPI
DdeCreateDataHandle16(DWORD
,LPBYTE
,DWORD
,DWORD
,HSZ
,UINT16
,UINT16
);
81 HDDEDATA WINAPI
DdeCreateDataHandle32(DWORD
,LPBYTE
,DWORD
,DWORD
,HSZ
,UINT32
,UINT32
);
82 #define DdeCreateDataHandle WINELIB_NAME(DdeCreateDataHandle)
83 HCONV WINAPI
DdeReconnect(HCONV
);
84 HSZ WINAPI
DdeCreateStringHandle16(DWORD
,LPCSTR
,INT16
);
85 HSZ WINAPI
DdeCreateStringHandle32A(DWORD
,LPCSTR
,INT32
);
86 HSZ WINAPI
DdeCreateStringHandle32W(DWORD
,LPCWSTR
,INT32
);
87 #define DdeCreateStringHandle WINELIB_NAME_AW(DdeCreateStringHandle)
88 BOOL16 WINAPI
DdeFreeStringHandle16(DWORD
,HSZ
);
89 BOOL32 WINAPI
DdeFreeStringHandle32(DWORD
,HSZ
);
90 #define DdeFreeStringHandle WINELIB_NAME(DdeFreeStringHandle)
91 BOOL16 WINAPI
DdeFreeDataHandle16(HDDEDATA
);
92 BOOL32 WINAPI
DdeFreeDataHandle32(HDDEDATA
);
93 #define DdeFreeDataHandle WINELIB_NAME(DdeFreeDataHandle)
94 BOOL16 WINAPI
DdeKeepStringHandle16(DWORD
,HSZ
);
95 BOOL32 WINAPI
DdeKeepStringHandle32(DWORD
,HSZ
);
96 #define DdeKeepStringHandle WINELIB_NAME(DdeKeepStringHandle)
97 HDDEDATA WINAPI
DdeClientTransaction16(LPVOID
,DWORD
,HCONV
,HSZ
,UINT16
,
98 UINT16
,DWORD
,LPDWORD
);
99 HDDEDATA WINAPI
DdeClientTransaction32(LPBYTE
,DWORD
,HCONV
,HSZ
,UINT32
,
100 UINT32
,DWORD
,LPDWORD
);
101 #define DdeClientTransaction WINELIB_NAME(DdeClientTransaction)
102 BOOL16 WINAPI
DdeAbandonTransaction(DWORD
,HCONV
,DWORD
);
103 BOOL16 WINAPI
DdePostAdvise16(DWORD
,HSZ
,HSZ
);
104 BOOL32 WINAPI
DdePostAdvise32(DWORD
,HSZ
,HSZ
);
105 #define DdePostAdvise WINELIB_NAME(DdePostAdvise)
106 HDDEDATA WINAPI
DdeAddData(HDDEDATA
,LPBYTE
,DWORD
,DWORD
);
107 DWORD WINAPI
DdeGetData(HDDEDATA
,LPBYTE
,DWORD
,DWORD
);
108 LPBYTE WINAPI
DdeAccessData16(HDDEDATA
,LPDWORD
);
109 LPBYTE WINAPI
DdeAccessData32(HDDEDATA
,LPDWORD
);
110 #define DdeAccessData WINELIB_NAME(DdeAccessData)
111 BOOL16 WINAPI
DdeUnaccessData16(HDDEDATA
);
112 BOOL32 WINAPI
DdeUnaccessData32(HDDEDATA
);
113 #define DdeUnaccessData WINELIB_NAME(DdeUnaccessData)
114 BOOL16 WINAPI
DdeEnableCallback16(DWORD
,HCONV
,UINT16
);
115 BOOL32 WINAPI
DdeEnableCallback32(DWORD
,HCONV
,UINT32
);
116 #define DdeEnableCallback WINELIB_NAME(DdeEnableCallback)
117 int WINAPI
DdeCmpStringHandles16(HSZ
,HSZ
);
118 int WINAPI
DdeCmpStringHandles32A(HSZ
,HSZ
);
119 int WINAPI
DdeCmpStringHandles32W(HSZ
,HSZ
);
120 #define DdeCmpStringHandles WINELIB_NAME_AW(DdeCmpStringHandles)
122 HDDEDATA WINAPI
DdeNameService16(DWORD
,HSZ
,HSZ
,UINT16
);
123 HDDEDATA WINAPI
DdeNameService32(DWORD
,HSZ
,HSZ
,UINT32
);
124 #define DdeNameService WINELIB_NAME(DdeNameService)
125 UINT16 WINAPI
DdeGetLastError16(DWORD
);
126 UINT32 WINAPI
DdeGetLastError32(DWORD
);
127 #define DdeGetLastError WINELIB_NAME(DdeGetLastError)
129 #endif /* __WINE__DDEML_H */