From 0ca46dc3389f13ffb0677eb31184d94db08c9292 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 19 Dec 2002 01:18:49 +0000 Subject: [PATCH] LPCONVCONTEXT should be PCONVCONTEXT (spotted by Dimitrie O. Paun). Same for LPHSZPAIR and LPCONVINFO. --- dlls/user/dde/client.c | 4 ++-- dlls/user/dde/misc.c | 2 +- include/ddeml.h | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/user/dde/client.c b/dlls/user/dde/client.c index 143ed827eeb..4cfab74720a 100644 --- a/dlls/user/dde/client.c +++ b/dlls/user/dde/client.c @@ -58,7 +58,7 @@ const WCHAR WDML_szClientConvClassW[] = {'D','d','e','C','l','i','e','n','t','U' * Failure: 0 */ HCONVLIST WINAPI DdeConnectList(DWORD idInst, HSZ hszService, HSZ hszTopic, - HCONVLIST hConvList, LPCONVCONTEXT pCC) + HCONVLIST hConvList, PCONVCONTEXT pCC) { FIXME("(%ld,%p,%p,%p,%p): stub\n", idInst, hszService, hszTopic, hConvList, pCC); return (HCONVLIST)1; @@ -94,7 +94,7 @@ BOOL WINAPI DdeDisconnectList(HCONVLIST hConvList) * DdeConnect (USER32.@) */ HCONV WINAPI DdeConnect(DWORD idInst, HSZ hszService, HSZ hszTopic, - LPCONVCONTEXT pCC) + PCONVCONTEXT pCC) { HWND hwndClient; WDML_INSTANCE* pInstance; diff --git a/dlls/user/dde/misc.c b/dlls/user/dde/misc.c index 784a02537c7..94f8fcf7e55 100644 --- a/dlls/user/dde/misc.c +++ b/dlls/user/dde/misc.c @@ -2027,7 +2027,7 @@ static BOOL WDML_GetLocalConvInfo(WDML_CONV* pConv, CONVINFO* ci, DWORD id) * DdeQueryConvInfo (USER32.@) * */ -UINT WINAPI DdeQueryConvInfo(HCONV hConv, DWORD id, LPCONVINFO lpConvInfo) +UINT WINAPI DdeQueryConvInfo(HCONV hConv, DWORD id, PCONVINFO lpConvInfo) { UINT ret = lpConvInfo->cb; CONVINFO ci; diff --git a/include/ddeml.h b/include/ddeml.h index 5b7a5765401..806279969b0 100644 --- a/include/ddeml.h +++ b/include/ddeml.h @@ -292,7 +292,7 @@ typedef struct tagHSZPAIR { HSZ hszSvc; HSZ hszTopic; -} HSZPAIR, *PHSZPAIR, *LPHSZPAIR; +} HSZPAIR, *PHSZPAIR; typedef struct tagCONVCONTEXT { @@ -302,7 +302,7 @@ typedef struct tagCONVCONTEXT INT iCodePage; DWORD dwLangID; DWORD dwSecurity; -} CONVCONTEXT, *LPCONVCONTEXT; +} CONVCONTEXT, *PCONVCONTEXT; typedef struct tagCONVINFO { @@ -322,7 +322,7 @@ typedef struct tagCONVINFO CONVCONTEXT ConvCtxt; HWND hwnd; HWND hwndPartner; -} CONVINFO, *LPCONVINFO; +} CONVINFO, *PCONVINFO; /* Interface Definitions */ @@ -331,13 +331,13 @@ UINT WINAPI DdeInitializeA(LPDWORD,PFNCALLBACK,DWORD,DWORD); UINT WINAPI DdeInitializeW(LPDWORD,PFNCALLBACK,DWORD,DWORD); #define DdeInitialize WINELIB_NAME_AW(DdeInitialize) BOOL WINAPI DdeUninitialize(DWORD); -HCONVLIST WINAPI DdeConnectList(DWORD,HSZ,HSZ,HCONVLIST,LPCONVCONTEXT); +HCONVLIST WINAPI DdeConnectList(DWORD,HSZ,HSZ,HCONVLIST,PCONVCONTEXT); HCONV WINAPI DdeQueryNextServer(HCONVLIST, HCONV); DWORD WINAPI DdeQueryStringA(DWORD, HSZ, LPSTR, DWORD, INT); DWORD WINAPI DdeQueryStringW(DWORD, HSZ, LPWSTR, DWORD, INT); #define DdeQueryString WINELIB_NAME_AW(DdeQueryString) BOOL WINAPI DdeDisconnectList(HCONVLIST); -HCONV WINAPI DdeConnect(DWORD,HSZ,HSZ,LPCONVCONTEXT); +HCONV WINAPI DdeConnect(DWORD,HSZ,HSZ,PCONVCONTEXT); BOOL WINAPI DdeDisconnect(HCONV); HDDEDATA WINAPI DdeCreateDataHandle(DWORD,LPBYTE,DWORD,DWORD,HSZ,UINT,UINT); HCONV WINAPI DdeReconnect(HCONV); @@ -361,7 +361,7 @@ BOOL WINAPI DdeSetUserHandle(HCONV,DWORD,DWORD); HDDEDATA WINAPI DdeNameService(DWORD,HSZ,HSZ,UINT); UINT WINAPI DdeGetLastError(DWORD); -UINT WINAPI DdeQueryConvInfo(HCONV,DWORD,LPCONVINFO); +UINT WINAPI DdeQueryConvInfo(HCONV,DWORD,PCONVINFO); #ifdef __cplusplus } /* extern "C" */