diff --git a/include/dde.h b/include/dde.h index bae151f09a4..832e0d60b23 100644 --- a/include/dde.h +++ b/include/dde.h @@ -13,6 +13,10 @@ #include "windef.h" +#ifdef __cplusplus +extern "C" { +#endif + #define WM_DDE_INITIATE 0x3E0 #define WM_DDE_TERMINATE 0x3E1 #define WM_DDE_ADVISE 0x3E2 @@ -57,4 +61,17 @@ struct tagDDEPOKE }; typedef struct tagDDEPOKE DDEPOKE; + +/* lParam packing/unpacking API */ + +LPARAM WINAPI PackDDElParam(UINT,UINT,UINT); +BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT,PUINT); +BOOL WINAPI FreeDDElParam(UINT,LPARAM); +LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT,UINT); + + +#ifdef __cplusplus +} +#endif + #endif /* __WINE_DDE_H */ diff --git a/include/winuser.h b/include/winuser.h index 78e58dc24d7..32cc7c28dfc 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -3120,7 +3120,6 @@ BOOL WINAPI RegisterHotKey(HWND,INT,UINT,UINT); HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE,LPVOID,DWORD); HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE,LPVOID,DWORD); #define RegisterDeviceNotification WINELIB_NAME_AW(RegisterDeviceNotification) -UINT WINAPI ReuseDDElParam(UINT,UINT,UINT,UINT,UINT); BOOL WINAPI SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD); BOOL WINAPI SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD); #define SendMessageCallback WINELIB_NAME_AW(SendMessageCallback) @@ -3140,7 +3139,6 @@ WORD WINAPI TileWindows (HWND, UINT, const LPRECT, INT WINAPI ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT); BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND, LPTPMPARAMS); -UINT WINAPI UnpackDDElParam(UINT,UINT,UINT*,UINT*); BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY); BOOL WINAPI UnregisterHotKey(HWND,INT); DWORD WINAPI WaitForInputIdle(HANDLE,DWORD);