Build Subversion 1.4.6 + Perl + OpenSSL 1.0
[msysgit.git] / include / dde.h
blob474f12691bb406a385ad9401c75967916de7d223
1 #ifndef _DDE_H
2 #define _DDE_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 #define WM_DDE_FIRST 0x03E0
7 #define WM_DDE_INITIATE (WM_DDE_FIRST)
8 #define WM_DDE_TERMINATE (WM_DDE_FIRST+1)
9 #define WM_DDE_ADVISE (WM_DDE_FIRST+2)
10 #define WM_DDE_UNADVISE (WM_DDE_FIRST+3)
11 #define WM_DDE_ACK (WM_DDE_FIRST+4)
12 #define WM_DDE_DATA (WM_DDE_FIRST+5)
13 #define WM_DDE_REQUEST (WM_DDE_FIRST+6)
14 #define WM_DDE_POKE (WM_DDE_FIRST+7)
15 #define WM_DDE_EXECUTE (WM_DDE_FIRST+8)
16 #define WM_DDE_LAST (WM_DDE_FIRST+8)
18 #ifndef RC_INVOKED
19 typedef struct {
20 unsigned short bAppReturnCode:8,reserved:6,fBusy:1,fAck:1;
21 } DDEACK;
22 typedef struct {
23 unsigned short reserved:14,fDeferUpd:1,fAckReq:1;
24 short cfFormat;
25 } DDEADVISE;
26 typedef struct {
27 unsigned short unused:12,fResponse:1,fRelease:1,reserved:1,fAckReq:1;
28 short cfFormat;
29 BYTE Value[1];
30 } DDEDATA;
31 typedef struct {
32 unsigned short unused:13,fRelease:1,fReserved:2;
33 short cfFormat;
34 BYTE Value[1];
35 } DDEPOKE;
36 typedef struct {
37 unsigned short unused:13,
38 fRelease:1,
39 fDeferUpd:1,
40 fAckReq:1;
41 short cfFormat;
42 } DDELN;
44 typedef struct {
45 unsigned short unused:12,fAck:1,fRelease:1,fReserved:1,fAckReq:1;
46 short cfFormat;
47 BYTE rgb[1];
48 } DDEUP;
49 BOOL WINAPI DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE*,PSECURITY_QUALITY_OF_SERVICE);
50 BOOL WINAPI ImpersonateDdeClientWindow(HWND,HWND);
51 LONG WINAPI PackDDElParam(UINT,UINT,UINT);
52 BOOL WINAPI UnpackDDElParam(UINT,LONG,PUINT,PUINT);
53 BOOL WINAPI FreeDDElParam(UINT,LONG);
54 LONG WINAPI ReuseDDElParam(LONG,UINT,UINT,UINT,UINT);
55 #endif
57 #ifdef __cplusplus
59 #endif
60 #endif