:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / user32 / misc / dde.c
1 /*
2  *  ReactOS kernel
3  *  Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 /* $Id$
20  *
21  * PROJECT:         ReactOS user32.dll
22  * FILE:            lib/user32/misc/dde.c
23  * PURPOSE:         DDE
24  * PROGRAMMER:      Casper S. Hornstrup (chorns@users.sourceforge.net)
25  * UPDATE HISTORY:
26  *      09-05-2001  CSH  Created
27  */
28
29 /* INCLUDES ******************************************************************/
30
31 #include <windows.h>
32 #include <user32.h>
33 #include <debug.h>
34
35 /* FUNCTIONS *****************************************************************/
36
37 WINBOOL STDCALL
38 DdeAbandonTransaction(DWORD idInst,
39                       HCONV hConv,
40                       DWORD idTransaction)
41 {
42   return FALSE;
43 }
44
45 LPBYTE STDCALL
46 DdeAccessData(HDDEDATA hData,
47               LPDWORD pcbDataSize)
48 {
49   return (LPBYTE)0;
50 }
51
52 HDDEDATA STDCALL
53 DdeAddData(HDDEDATA hData,
54            LPBYTE pSrc,
55            DWORD cb,
56            DWORD cbOff)
57 {
58   return (HDDEDATA)0;
59 }
60
61 HDDEDATA STDCALL
62 DdeClientTransaction(LPBYTE pData,
63                      DWORD cbData,
64                      HCONV hConv,
65                      HSZ hszItem,
66                      UINT wFmt,
67                      UINT wType,
68                      DWORD dwTimeout,
69                      LPDWORD pdwResult)
70 {
71   return (HDDEDATA)0;
72 }
73
74 int STDCALL
75 DdeCmpStringHandles(HSZ hsz1,
76                     HSZ hsz2)
77 {
78   return 0;
79 }
80
81 HCONV STDCALL
82 DdeConnect(DWORD idInst,
83            HSZ hszService,
84            HSZ hszTopic,
85            PCONVCONTEXT pCC)
86 {
87   return (HCONV)0;
88 }
89
90 HCONVLIST STDCALL
91 DdeConnectList(DWORD idInst,
92                HSZ hszService,
93                HSZ hszTopic,
94                HCONVLIST hConvList,
95                PCONVCONTEXT pCC)
96 {
97   return (HCONVLIST)0;
98 }
99
100 HDDEDATA STDCALL
101 DdeCreateDataHandle(DWORD idInst,
102                     LPBYTE pSrc,
103                     DWORD cb,
104                     DWORD cbOff,
105                     HSZ hszItem,
106                     UINT wFmt,
107                     UINT afCmd)
108 {
109   return (HDDEDATA)0;
110 }
111
112 HSZ STDCALL
113 DdeCreateStringHandleA(DWORD idInst,
114                        LPSTR psz,
115                        int iCodePage)
116 {
117   return (HSZ)0;
118 }
119
120 HSZ STDCALL
121 DdeCreateStringHandleW(DWORD idInst,
122                        LPWSTR psz,
123                        int iCodePage)
124 {
125   return (HSZ)0;
126 }
127
128 WINBOOL STDCALL
129 DdeDisconnect(HCONV hConv)
130 {
131   return FALSE;
132 }
133
134 WINBOOL STDCALL
135 DdeDisconnectList(HCONVLIST hConvList)
136 {
137   return FALSE;
138 }
139
140 WINBOOL STDCALL
141 DdeEnableCallback(DWORD idInst,
142                   HCONV hConv,
143                   UINT wCmd)
144 {
145   return FALSE;
146 }
147
148 WINBOOL STDCALL
149 DdeFreeDataHandle(HDDEDATA hData)
150 {
151   return FALSE;
152 }
153
154 BOOL
155 DdeFreeStringHandle(DWORD idInst,
156                     HSZ hsz)
157 {
158   return FALSE;
159 }
160
161 DWORD STDCALL
162 DdeGetData(HDDEDATA hData,
163            LPBYTE pDst,
164            DWORD cbMax,
165            DWORD cbOff)
166 {
167   return 0;
168 }
169
170 UINT STDCALL
171 DdeGetLastError(DWORD idInst)
172 {
173   return 0;
174 }
175
176 WINBOOL STDCALL
177 DdeImpersonateClient(HCONV hConv)
178 {
179   return FALSE;
180 }
181
182 UINT STDCALL
183 DdeInitializeA(LPDWORD pidInst,
184                PFNCALLBACK pfnCallback,
185                DWORD afCmd,
186                DWORD ulRes)
187 {
188   return 0;
189 }
190
191 UINT STDCALL
192 DdeInitializeW(LPDWORD pidInst,
193                PFNCALLBACK pfnCallback,
194                DWORD afCmd,
195                DWORD ulRes)
196 {
197   return 0;
198 }
199
200 WINBOOL STDCALL
201 DdeKeepStringHandle(DWORD idInst,
202                     HSZ hsz)
203 {
204   return FALSE;
205 }
206
207 HDDEDATA STDCALL
208 DdeNameService(DWORD idInst,
209                HSZ hsz1,
210                HSZ hsz2,
211                UINT afCmd)
212 {
213   return (HDDEDATA)0;
214 }
215
216 WINBOOL STDCALL
217 DdePostAdvise(DWORD idInst,
218               HSZ hszTopic,
219               HSZ hszItem)
220 {
221   return FALSE;
222 }
223
224 UINT STDCALL
225 DdeQueryConvInfo(HCONV hConv,
226                  DWORD idTransaction,
227                  PCONVINFO pConvInfo)
228 {
229   return 0;
230 }
231
232 HCONV STDCALL
233 DdeQueryNextServer(HCONVLIST hConvList,
234                    HCONV hConvPrev)
235 {
236   return (HCONV)0;
237 }
238
239 DWORD STDCALL
240 DdeQueryStringA(DWORD idInst,
241                 HSZ hsz,
242                 LPSTR psz,
243                 DWORD cchMax,
244                 int iCodePage)
245 {
246   return 0;
247 }
248
249 DWORD STDCALL
250 DdeQueryStringW(DWORD idInst,
251                 HSZ hsz,
252                 LPWSTR psz,
253                 DWORD cchMax,
254                 int iCodePage)
255 {
256   return 0;
257 }
258
259 HCONV STDCALL
260 DdeReconnect(HCONV hConv)
261 {
262   return (HCONV)0;
263 }
264
265 WINBOOL STDCALL
266 DdeSetQualityOfService(HWND hwndClient,
267                        CONST SECURITY_QUALITY_OF_SERVICE *pqosNew,
268                        PSECURITY_QUALITY_OF_SERVICE pqosPrev)
269 {
270   return FALSE;
271 }
272
273 WINBOOL STDCALL
274 DdeSetUserHandle(HCONV hConv,
275                  DWORD id,
276                  DWORD_PTR hUser)
277 {
278   return FALSE;
279 }
280
281 WINBOOL STDCALL
282 DdeUnaccessData(HDDEDATA hData)
283 {
284   return FALSE;
285 }
286
287 WINBOOL STDCALL
288 DdeUninitialize(DWORD idInst)
289 {
290   return FALSE;
291 }
292
293 WINBOOL STDCALL
294 FreeDDElParam(UINT msg,
295               LPARAM lParam)
296 {
297   return FALSE;
298 }
299
300 WINBOOL STDCALL
301 ImpersonateDdeClientWindow(HWND hWndClient,
302                            HWND hWndServer)
303 {
304   return FALSE;
305 }
306
307 LPARAM STDCALL
308 PackDDElParam(UINT msg,
309               UINT_PTR uiLo,
310               UINT_PTR uiHi)
311 {
312   return (LPARAM)0;
313 }
314
315 LPARAM STDCALL
316 ReuseDDElParam(LPARAM lParam,
317                UINT msgIn,
318                UINT msgOut,
319                UINT_PTR uiLo,
320                UINT_PTR uiHi)
321 {
322   return (LPARAM)0;
323 }
324
325 WINBOOL STDCALL
326 UnpackDDElParam(UINT msg,
327                 LPARAM lParam,
328                 PUINT_PTR puiLo,
329                 PUINT_PTR puiHi)
330 {
331   return FALSE;
332 }