include: Add WINUSERAPI to the exported user32 functions.
This commit is contained in:
parent
52f769e88d
commit
919e32c034
|
@ -28,6 +28,12 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _USER32_
|
||||||
|
#define WINUSERAPI
|
||||||
|
#else
|
||||||
|
#define WINUSERAPI DECLSPEC_IMPORT
|
||||||
|
#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
|
||||||
|
@ -69,19 +75,12 @@ typedef struct
|
||||||
BYTE Value[1]; /* undetermined array */
|
BYTE Value[1]; /* undetermined array */
|
||||||
} DDEPOKE;
|
} DDEPOKE;
|
||||||
|
|
||||||
BOOL WINAPI DdeSetQualityOfService(HWND hwndClient,
|
WINUSERAPI BOOL WINAPI DdeSetQualityOfService(HWND,CONST SECURITY_QUALITY_OF_SERVICE *,PSECURITY_QUALITY_OF_SERVICE);
|
||||||
CONST SECURITY_QUALITY_OF_SERVICE *pqosNew,
|
WINUSERAPI BOOL WINAPI FreeDDElParam(UINT,LPARAM);
|
||||||
PSECURITY_QUALITY_OF_SERVICE pqosPrev);
|
WINUSERAPI BOOL WINAPI ImpersonateDdeClientWindow(HWND,HWND);
|
||||||
|
WINUSERAPI LPARAM WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR);
|
||||||
BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer);
|
WINUSERAPI LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR);
|
||||||
|
WINUSERAPI BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR);
|
||||||
/* lParam packing/unpacking API */
|
|
||||||
|
|
||||||
LPARAM WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR);
|
|
||||||
BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR);
|
|
||||||
BOOL WINAPI FreeDDElParam(UINT,LPARAM);
|
|
||||||
LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR);
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,12 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* defined(__cplusplus) */
|
#endif /* defined(__cplusplus) */
|
||||||
|
|
||||||
|
#ifdef _USER32_
|
||||||
|
#define WINUSERAPI
|
||||||
|
#else
|
||||||
|
#define WINUSERAPI DECLSPEC_IMPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Codepage Constants
|
/* Codepage Constants
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -334,42 +340,40 @@ typedef struct tagCONVINFO
|
||||||
|
|
||||||
/* Interface Definitions */
|
/* Interface Definitions */
|
||||||
|
|
||||||
|
WINUSERAPI BOOL WINAPI DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction);
|
||||||
UINT WINAPI DdeInitializeA(LPDWORD,PFNCALLBACK,DWORD,DWORD);
|
WINUSERAPI LPBYTE WINAPI DdeAccessData(HDDEDATA,LPDWORD);
|
||||||
UINT WINAPI DdeInitializeW(LPDWORD,PFNCALLBACK,DWORD,DWORD);
|
WINUSERAPI HDDEDATA WINAPI DdeAddData(HDDEDATA,LPBYTE,DWORD,DWORD);
|
||||||
#define DdeInitialize WINELIB_NAME_AW(DdeInitialize)
|
WINUSERAPI HDDEDATA WINAPI DdeClientTransaction(LPBYTE,DWORD,HCONV,HSZ,UINT,UINT,DWORD,LPDWORD);
|
||||||
BOOL WINAPI DdeUninitialize(DWORD);
|
WINUSERAPI INT WINAPI DdeCmpStringHandles(HSZ,HSZ);
|
||||||
HCONVLIST WINAPI DdeConnectList(DWORD,HSZ,HSZ,HCONVLIST,PCONVCONTEXT);
|
WINUSERAPI HCONV WINAPI DdeConnect(DWORD,HSZ,HSZ,PCONVCONTEXT);
|
||||||
HCONV WINAPI DdeQueryNextServer(HCONVLIST, HCONV);
|
WINUSERAPI HCONVLIST WINAPI DdeConnectList(DWORD,HSZ,HSZ,HCONVLIST,PCONVCONTEXT);
|
||||||
DWORD WINAPI DdeQueryStringA(DWORD, HSZ, LPSTR, DWORD, INT);
|
WINUSERAPI HDDEDATA WINAPI DdeCreateDataHandle(DWORD,LPBYTE,DWORD,DWORD,HSZ,UINT,UINT);
|
||||||
DWORD WINAPI DdeQueryStringW(DWORD, HSZ, LPWSTR, DWORD, INT);
|
WINUSERAPI HSZ WINAPI DdeCreateStringHandleA(DWORD,LPCSTR,INT);
|
||||||
#define DdeQueryString WINELIB_NAME_AW(DdeQueryString)
|
WINUSERAPI HSZ WINAPI DdeCreateStringHandleW(DWORD,LPCWSTR,INT);
|
||||||
BOOL WINAPI DdeDisconnectList(HCONVLIST);
|
#define DdeCreateStringHandle WINELIB_NAME_AW(DdeCreateStringHandle)
|
||||||
HCONV WINAPI DdeConnect(DWORD,HSZ,HSZ,PCONVCONTEXT);
|
WINUSERAPI BOOL WINAPI DdeDisconnect(HCONV);
|
||||||
BOOL WINAPI DdeDisconnect(HCONV);
|
WINUSERAPI BOOL WINAPI DdeDisconnectList(HCONVLIST);
|
||||||
HDDEDATA WINAPI DdeCreateDataHandle(DWORD,LPBYTE,DWORD,DWORD,HSZ,UINT,UINT);
|
WINUSERAPI BOOL WINAPI DdeEnableCallback(DWORD,HCONV,UINT);
|
||||||
HCONV WINAPI DdeReconnect(HCONV);
|
WINUSERAPI BOOL WINAPI DdeFreeDataHandle(HDDEDATA);
|
||||||
HSZ WINAPI DdeCreateStringHandleA(DWORD,LPCSTR,INT);
|
WINUSERAPI BOOL WINAPI DdeFreeStringHandle(DWORD,HSZ);
|
||||||
HSZ WINAPI DdeCreateStringHandleW(DWORD,LPCWSTR,INT);
|
WINUSERAPI DWORD WINAPI DdeGetData(HDDEDATA,LPBYTE,DWORD,DWORD);
|
||||||
#define DdeCreateStringHandle WINELIB_NAME_AW(DdeCreateStringHandle)
|
WINUSERAPI UINT WINAPI DdeGetLastError(DWORD);
|
||||||
BOOL WINAPI DdeFreeStringHandle(DWORD,HSZ);
|
WINUSERAPI BOOL WINAPI DdeImpersonateClient(HCONV);
|
||||||
BOOL WINAPI DdeFreeDataHandle(HDDEDATA);
|
WINUSERAPI UINT WINAPI DdeInitializeA(LPDWORD,PFNCALLBACK,DWORD,DWORD);
|
||||||
BOOL WINAPI DdeKeepStringHandle(DWORD,HSZ);
|
WINUSERAPI UINT WINAPI DdeInitializeW(LPDWORD,PFNCALLBACK,DWORD,DWORD);
|
||||||
HDDEDATA WINAPI DdeClientTransaction(LPBYTE,DWORD,HCONV,HSZ,UINT,UINT,DWORD,LPDWORD);
|
#define DdeInitialize WINELIB_NAME_AW(DdeInitialize)
|
||||||
BOOL WINAPI DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction);
|
WINUSERAPI BOOL WINAPI DdeKeepStringHandle(DWORD,HSZ);
|
||||||
BOOL WINAPI DdeImpersonateClient(HCONV);
|
WINUSERAPI HDDEDATA WINAPI DdeNameService(DWORD,HSZ,HSZ,UINT);
|
||||||
BOOL WINAPI DdePostAdvise(DWORD,HSZ,HSZ);
|
WINUSERAPI BOOL WINAPI DdePostAdvise(DWORD,HSZ,HSZ);
|
||||||
HDDEDATA WINAPI DdeAddData(HDDEDATA,LPBYTE,DWORD,DWORD);
|
WINUSERAPI UINT WINAPI DdeQueryConvInfo(HCONV,DWORD,PCONVINFO);
|
||||||
DWORD WINAPI DdeGetData(HDDEDATA,LPBYTE,DWORD,DWORD);
|
WINUSERAPI HCONV WINAPI DdeQueryNextServer(HCONVLIST, HCONV);
|
||||||
LPBYTE WINAPI DdeAccessData(HDDEDATA,LPDWORD);
|
WINUSERAPI DWORD WINAPI DdeQueryStringA(DWORD, HSZ, LPSTR, DWORD, INT);
|
||||||
BOOL WINAPI DdeUnaccessData(HDDEDATA);
|
WINUSERAPI DWORD WINAPI DdeQueryStringW(DWORD, HSZ, LPWSTR, DWORD, INT);
|
||||||
BOOL WINAPI DdeEnableCallback(DWORD,HCONV,UINT);
|
#define DdeQueryString WINELIB_NAME_AW(DdeQueryString)
|
||||||
INT WINAPI DdeCmpStringHandles(HSZ,HSZ);
|
WINUSERAPI HCONV WINAPI DdeReconnect(HCONV);
|
||||||
BOOL WINAPI DdeSetUserHandle(HCONV,DWORD,DWORD);
|
WINUSERAPI BOOL WINAPI DdeSetUserHandle(HCONV,DWORD,DWORD);
|
||||||
|
WINUSERAPI BOOL WINAPI DdeUnaccessData(HDDEDATA);
|
||||||
HDDEDATA WINAPI DdeNameService(DWORD,HSZ,HSZ,UINT);
|
WINUSERAPI BOOL WINAPI DdeUninitialize(DWORD);
|
||||||
UINT WINAPI DdeGetLastError(DWORD);
|
|
||||||
UINT WINAPI DdeQueryConvInfo(HCONV,DWORD,PCONVINFO);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
|
1576
include/winuser.h
1576
include/winuser.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue