Update ooo320-m1
[ooovba.git] / svtools / source / svdde / ddewrap.hxx
blob793d5c972e014ee97c676f393136c273e672dd28
1 #ifndef _SVTOOLS_SVDDE_DDEWRAP_HXX_
2 #define _SVTOOLS_SVDDE_DDEWRAP_HXX_
4 #define DECLARE_WAPI_FUNC(func) \
5 extern func##_PROC lpfn##func;
7 typedef HSZ (WINAPI *DdeCreateStringHandleW_PROC)( DWORD idInst, LPCWSTR pszString, int iCodePage );
8 typedef DWORD (WINAPI *DdeQueryStringW_PROC)( DWORD idInst, HSZ hsz, LPWSTR pszString, DWORD cchMax, int iCodePage );
9 typedef UINT (WINAPI *DdeInitializeW_PROC)( LPDWORD pidInst, PFNCALLBACK pfnCallback, DWORD afCmd, DWORD ulRes );
12 DECLARE_WAPI_FUNC( DdeCreateStringHandleW );
13 DECLARE_WAPI_FUNC( DdeQueryStringW );
14 DECLARE_WAPI_FUNC( DdeInitializeW );
17 #ifndef _SVTOOLS_SVDDE_DDEWRAP_CXX_
18 #define DdeCreateStringHandleW lpfnDdeCreateStringHandleW
19 #define DdeQueryStringW lpfnDdeQueryStringW
20 #define DdeInitializeW lpfnDdeInitializeW
21 #endif
24 #endif