source: Daodan/MinGW/include/dde.h@ 1124

Last change on this file since 1124 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 1.7 KB
RevLine 
[1046]1#ifndef _DDE_H
2#define _DDE_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10#define WM_DDE_FIRST 0x03E0
11#define WM_DDE_INITIATE (WM_DDE_FIRST)
12#define WM_DDE_TERMINATE (WM_DDE_FIRST+1)
13#define WM_DDE_ADVISE (WM_DDE_FIRST+2)
14#define WM_DDE_UNADVISE (WM_DDE_FIRST+3)
15#define WM_DDE_ACK (WM_DDE_FIRST+4)
16#define WM_DDE_DATA (WM_DDE_FIRST+5)
17#define WM_DDE_REQUEST (WM_DDE_FIRST+6)
18#define WM_DDE_POKE (WM_DDE_FIRST+7)
19#define WM_DDE_EXECUTE (WM_DDE_FIRST+8)
20#define WM_DDE_LAST (WM_DDE_FIRST+8)
21
22#ifndef RC_INVOKED
23typedef struct {
24 unsigned short bAppReturnCode:8,reserved:6,fBusy:1,fAck:1;
25} DDEACK;
26typedef struct {
27 unsigned short reserved:14,fDeferUpd:1,fAckReq:1;
28 short cfFormat;
29} DDEADVISE;
30typedef struct {
31 unsigned short unused:12,fResponse:1,fRelease:1,reserved:1,fAckReq:1;
32 short cfFormat;
33 BYTE Value[1];
34} DDEDATA;
35typedef struct {
36 unsigned short unused:13,fRelease:1,fReserved:2;
37 short cfFormat;
38 BYTE Value[1];
39} DDEPOKE;
40typedef struct {
41 unsigned short unused:13,
42 fRelease:1,
43 fDeferUpd:1,
44 fAckReq:1;
45 short cfFormat;
46} DDELN;
47
48typedef struct {
49 unsigned short unused:12,fAck:1,fRelease:1,fReserved:1,fAckReq:1;
50 short cfFormat;
51 BYTE rgb[1];
52} DDEUP;
53BOOL WINAPI DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE*,PSECURITY_QUALITY_OF_SERVICE);
54BOOL WINAPI ImpersonateDdeClientWindow(HWND,HWND);
55LPARAM WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR);
56BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR);
57BOOL WINAPI FreeDDElParam(UINT,LPARAM);
58LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR);
59#endif
60
61#ifdef __cplusplus
62}
63#endif
64#endif
Note: See TracBrowser for help on using the repository browser.