Changed LoadImage16 to take an LPCSTR instead of a SEGPTR.
[wine.git] / dlls / user / ddeml16.h
blobba87d2ceb088e8772281d597f984a865386ae8f3
1 /*
2 * DDEML 16-bit library definitions
4 * Copyright 1997 Alexandre Julliard
5 * Copyright 1997 Len White
6 */
8 #ifndef __WINE_WINE_DDEML16_H
9 #define __WINE_WINE_DDEML16_H
11 #include "windef.h"
12 #include "wine/windef16.h"
14 #define QID_SYNC16 -1L
16 typedef HDDEDATA CALLBACK (*PFNCALLBACK16)(UINT16,UINT16,HCONV,HSZ,HSZ,HDDEDATA,DWORD,DWORD);
18 /***************************************************
20 Externally visible data structures
22 ***************************************************/
24 typedef struct
26 UINT16 cb;
27 UINT16 wFlags;
28 UINT16 wCountryID;
29 INT16 iCodePage;
30 DWORD dwLangID;
31 DWORD dwSecurity;
32 } CONVCONTEXT16, *LPCONVCONTEXT16;
34 typedef struct
36 DWORD cb;
37 DWORD hUser;
38 HCONV hConvPartner;
39 HSZ hszSvcPartner;
40 HSZ hszServiceReq;
41 HSZ hszTopic;
42 HSZ hszItem;
43 UINT16 wFmt;
44 UINT16 wType;
45 UINT16 wStatus;
46 UINT16 wConvst;
47 UINT16 wLastError;
48 HCONVLIST hConvList;
49 CONVCONTEXT16 ConvCtxt;
50 } CONVINFO16, *LPCONVINFO16;
52 /* Interface Definitions */
54 UINT16 WINAPI DdeInitialize16(LPDWORD,PFNCALLBACK16,DWORD,DWORD);
55 BOOL16 WINAPI DdeUninitialize16(DWORD);
56 HCONVLIST WINAPI DdeConnectList16(DWORD,HSZ,HSZ,HCONVLIST,LPCONVCONTEXT16);
57 HCONV WINAPI DdeQueryNextServer16(HCONVLIST, HCONV);
58 BOOL16 WINAPI DdeDisconnectList16(HCONVLIST);
59 HCONV WINAPI DdeConnect16(DWORD,HSZ,HSZ,LPCONVCONTEXT16);
60 BOOL16 WINAPI DdeDisconnect16(HCONV);
61 BOOL16 WINAPI DdeSetUserHandle16(HCONV,DWORD,DWORD);
62 HDDEDATA WINAPI DdeCreateDataHandle16(DWORD,LPBYTE,DWORD,DWORD,HSZ,UINT16,UINT16);
63 HSZ WINAPI DdeCreateStringHandle16(DWORD,LPCSTR,INT16);
64 BOOL16 WINAPI DdeFreeStringHandle16(DWORD,HSZ);
65 BOOL16 WINAPI DdeFreeDataHandle16(HDDEDATA);
66 BOOL16 WINAPI DdeKeepStringHandle16(DWORD,HSZ);
67 HDDEDATA WINAPI DdeClientTransaction16(LPVOID,DWORD,HCONV,HSZ,UINT16,UINT16,DWORD,LPDWORD);
68 BOOL16 WINAPI DdeAbandonTransaction16(DWORD,HCONV,DWORD);
69 BOOL16 WINAPI DdePostAdvise16(DWORD,HSZ,HSZ);
70 HDDEDATA WINAPI DdeAddData16(HDDEDATA,LPBYTE,DWORD,DWORD);
71 LPBYTE WINAPI DdeAccessData16(HDDEDATA,LPDWORD);
72 BOOL16 WINAPI DdeUnaccessData16(HDDEDATA);
73 BOOL16 WINAPI DdeEnableCallback16(DWORD,HCONV,UINT16);
74 INT16 WINAPI DdeCmpStringHandles16(HSZ,HSZ);
75 HDDEDATA WINAPI DdeNameService16(DWORD,HSZ,HSZ,UINT16);
76 UINT16 WINAPI DdeGetLastError16(DWORD);
77 UINT16 WINAPI DdeQueryConvInfo16(HCONV,DWORD,LPCONVINFO16);
79 #endif /* __WINE_WINE_DDEML16_H */