Commit 89305692 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Added four DDElParam functions.

Now needs an 'extern "C"' protection for C++.
parent 8ea81813
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
#include "windef.h" #include "windef.h"
#ifdef __cplusplus
extern "C" {
#endif
#define WM_DDE_INITIATE 0x3E0 #define WM_DDE_INITIATE 0x3E0
#define WM_DDE_TERMINATE 0x3E1 #define WM_DDE_TERMINATE 0x3E1
#define WM_DDE_ADVISE 0x3E2 #define WM_DDE_ADVISE 0x3E2
...@@ -57,4 +61,17 @@ struct tagDDEPOKE ...@@ -57,4 +61,17 @@ struct tagDDEPOKE
}; };
typedef struct tagDDEPOKE DDEPOKE; 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 */ #endif /* __WINE_DDE_H */
...@@ -3120,7 +3120,6 @@ BOOL WINAPI RegisterHotKey(HWND,INT,UINT,UINT); ...@@ -3120,7 +3120,6 @@ BOOL WINAPI RegisterHotKey(HWND,INT,UINT,UINT);
HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE,LPVOID,DWORD); HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE,LPVOID,DWORD);
HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE,LPVOID,DWORD); HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE,LPVOID,DWORD);
#define RegisterDeviceNotification WINELIB_NAME_AW(RegisterDeviceNotification) #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 SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD);
BOOL WINAPI SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD); BOOL WINAPI SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD);
#define SendMessageCallback WINELIB_NAME_AW(SendMessageCallback) #define SendMessageCallback WINELIB_NAME_AW(SendMessageCallback)
...@@ -3140,7 +3139,6 @@ WORD WINAPI TileWindows (HWND, UINT, const LPRECT, ...@@ -3140,7 +3139,6 @@ WORD WINAPI TileWindows (HWND, UINT, const LPRECT,
INT WINAPI ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT); INT WINAPI ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT);
BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND, BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND,
LPTPMPARAMS); LPTPMPARAMS);
UINT WINAPI UnpackDDElParam(UINT,UINT,UINT*,UINT*);
BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY); BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY);
BOOL WINAPI UnregisterHotKey(HWND,INT); BOOL WINAPI UnregisterHotKey(HWND,INT);
DWORD WINAPI WaitForInputIdle(HANDLE,DWORD); DWORD WINAPI WaitForInputIdle(HANDLE,DWORD);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment