3 * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
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.
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.
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.
19 /* $Id: dde.c,v 1.3 2002/09/08 10:23:10 chorns Exp $
21 * PROJECT: ReactOS user32.dll
22 * FILE: lib/user32/misc/dde.c
24 * PROGRAMMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
26 * 09-05-2001 CSH Created
29 /* INCLUDES ******************************************************************/
35 /* FUNCTIONS *****************************************************************/
38 DdeAbandonTransaction(DWORD idInst
,
46 DdeAccessData(HDDEDATA hData
,
53 DdeAddData(HDDEDATA hData
,
62 DdeClientTransaction(LPBYTE pData
,
75 DdeCmpStringHandles(HSZ hsz1
,
82 DdeConnect(DWORD idInst
,
91 DdeConnectList(DWORD idInst
,
101 DdeCreateDataHandle(DWORD idInst
,
113 DdeCreateStringHandleA(DWORD idInst
,
121 DdeCreateStringHandleW(DWORD idInst
,
129 DdeDisconnect(HCONV hConv
)
135 DdeDisconnectList(HCONVLIST hConvList
)
141 DdeEnableCallback(DWORD idInst
,
149 DdeFreeDataHandle(HDDEDATA hData
)
155 DdeFreeStringHandle(DWORD idInst
,
162 DdeGetData(HDDEDATA hData
,
171 DdeGetLastError(DWORD idInst
)
177 DdeImpersonateClient(HCONV hConv
)
183 DdeInitializeA(LPDWORD pidInst
,
184 PFNCALLBACK pfnCallback
,
192 DdeInitializeW(LPDWORD pidInst
,
193 PFNCALLBACK pfnCallback
,
201 DdeKeepStringHandle(DWORD idInst
,
208 DdeNameService(DWORD idInst
,
217 DdePostAdvise(DWORD idInst
,
225 DdeQueryConvInfo(HCONV hConv
,
233 DdeQueryNextServer(HCONVLIST hConvList
,
240 DdeQueryStringA(DWORD idInst
,
250 DdeQueryStringW(DWORD idInst
,
260 DdeReconnect(HCONV hConv
)
266 DdeSetQualityOfService(HWND hwndClient
,
267 CONST SECURITY_QUALITY_OF_SERVICE
*pqosNew
,
268 PSECURITY_QUALITY_OF_SERVICE pqosPrev
)
274 DdeSetUserHandle(HCONV hConv
,
282 DdeUnaccessData(HDDEDATA hData
)
288 DdeUninitialize(DWORD idInst
)
294 FreeDDElParam(UINT msg
,
301 ImpersonateDdeClientWindow(HWND hWndClient
,
308 PackDDElParam(UINT msg
,
316 ReuseDDElParam(LPARAM lParam
,
326 UnpackDDElParam(UINT msg
,