Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/System/DataExchange/mod.rs

raw
1 ::windows_targets::link!("kernel32.dll" "system" fn AddAtomA(lpstring : ::windows_sys::core::PCSTR) -> u16);
2 ::windows_targets::link!("kernel32.dll" "system" fn AddAtomW(lpstring : ::windows_sys::core::PCWSTR) -> u16);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddClipboardFormatListener(hwnd : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL);
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ChangeClipboardChain(hwndremove : super::super::Foundation:: HWND, hwndnewnext : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL);
7 #[cfg(feature = "Win32_Foundation")]
8 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CloseClipboard() -> super::super::Foundation:: BOOL);
9 ::windows_targets::link!("user32.dll" "system" fn CountClipboardFormats() -> i32);
10 #[cfg(feature = "Win32_Foundation")]
11 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeAbandonTransaction(idinst : u32, hconv : HCONV, idtransaction : u32) -> super::super::Foundation:: BOOL);
12 ::windows_targets::link!("user32.dll" "system" fn DdeAccessData(hdata : HDDEDATA, pcbdatasize : *mut u32) -> *mut u8);
13 ::windows_targets::link!("user32.dll" "system" fn DdeAddData(hdata : HDDEDATA, psrc : *const u8, cb : u32, cboff : u32) -> HDDEDATA);
14 ::windows_targets::link!("user32.dll" "system" fn DdeClientTransaction(pdata : *const u8, cbdata : u32, hconv : HCONV, hszitem : HSZ, wfmt : u32, wtype : DDE_CLIENT_TRANSACTION_TYPE, dwtimeout : u32, pdwresult : *mut u32) -> HDDEDATA);
15 ::windows_targets::link!("user32.dll" "system" fn DdeCmpStringHandles(hsz1 : HSZ, hsz2 : HSZ) -> i32);
16 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
17 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn DdeConnect(idinst : u32, hszservice : HSZ, hsztopic : HSZ, pcc : *const CONVCONTEXT) -> HCONV);
18 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
19 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn DdeConnectList(idinst : u32, hszservice : HSZ, hsztopic : HSZ, hconvlist : HCONVLIST, pcc : *const CONVCONTEXT) -> HCONVLIST);
20 ::windows_targets::link!("user32.dll" "system" fn DdeCreateDataHandle(idinst : u32, psrc : *const u8, cb : u32, cboff : u32, hszitem : HSZ, wfmt : u32, afcmd : u32) -> HDDEDATA);
21 ::windows_targets::link!("user32.dll" "system" fn DdeCreateStringHandleA(idinst : u32, psz : ::windows_sys::core::PCSTR, icodepage : i32) -> HSZ);
22 ::windows_targets::link!("user32.dll" "system" fn DdeCreateStringHandleW(idinst : u32, psz : ::windows_sys::core::PCWSTR, icodepage : i32) -> HSZ);
23 #[cfg(feature = "Win32_Foundation")]
24 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeDisconnect(hconv : HCONV) -> super::super::Foundation:: BOOL);
25 #[cfg(feature = "Win32_Foundation")]
26 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeDisconnectList(hconvlist : HCONVLIST) -> super::super::Foundation:: BOOL);
27 #[cfg(feature = "Win32_Foundation")]
28 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeEnableCallback(idinst : u32, hconv : HCONV, wcmd : DDE_ENABLE_CALLBACK_CMD) -> super::super::Foundation:: BOOL);
29 #[cfg(feature = "Win32_Foundation")]
30 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeFreeDataHandle(hdata : HDDEDATA) -> super::super::Foundation:: BOOL);
31 #[cfg(feature = "Win32_Foundation")]
32 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeFreeStringHandle(idinst : u32, hsz : HSZ) -> super::super::Foundation:: BOOL);
33 ::windows_targets::link!("user32.dll" "system" fn DdeGetData(hdata : HDDEDATA, pdst : *mut u8, cbmax : u32, cboff : u32) -> u32);
34 ::windows_targets::link!("user32.dll" "system" fn DdeGetLastError(idinst : u32) -> u32);
35 #[cfg(feature = "Win32_Foundation")]
36 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeImpersonateClient(hconv : HCONV) -> super::super::Foundation:: BOOL);
37 ::windows_targets::link!("user32.dll" "system" fn DdeInitializeA(pidinst : *mut u32, pfncallback : PFNCALLBACK, afcmd : DDE_INITIALIZE_COMMAND, ulres : u32) -> u32);
38 ::windows_targets::link!("user32.dll" "system" fn DdeInitializeW(pidinst : *mut u32, pfncallback : PFNCALLBACK, afcmd : DDE_INITIALIZE_COMMAND, ulres : u32) -> u32);
39 #[cfg(feature = "Win32_Foundation")]
40 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeKeepStringHandle(idinst : u32, hsz : HSZ) -> super::super::Foundation:: BOOL);
41 ::windows_targets::link!("user32.dll" "system" fn DdeNameService(idinst : u32, hsz1 : HSZ, hsz2 : HSZ, afcmd : DDE_NAME_SERVICE_CMD) -> HDDEDATA);
42 #[cfg(feature = "Win32_Foundation")]
43 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdePostAdvise(idinst : u32, hsztopic : HSZ, hszitem : HSZ) -> super::super::Foundation:: BOOL);
44 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
45 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn DdeQueryConvInfo(hconv : HCONV, idtransaction : u32, pconvinfo : *mut CONVINFO) -> u32);
46 ::windows_targets::link!("user32.dll" "system" fn DdeQueryNextServer(hconvlist : HCONVLIST, hconvprev : HCONV) -> HCONV);
47 ::windows_targets::link!("user32.dll" "system" fn DdeQueryStringA(idinst : u32, hsz : HSZ, psz : ::windows_sys::core::PSTR, cchmax : u32, icodepage : i32) -> u32);
48 ::windows_targets::link!("user32.dll" "system" fn DdeQueryStringW(idinst : u32, hsz : HSZ, psz : ::windows_sys::core::PWSTR, cchmax : u32, icodepage : i32) -> u32);
49 ::windows_targets::link!("user32.dll" "system" fn DdeReconnect(hconv : HCONV) -> HCONV);
50 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
51 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn DdeSetQualityOfService(hwndclient : super::super::Foundation:: HWND, pqosnew : *const super::super::Security:: SECURITY_QUALITY_OF_SERVICE, pqosprev : *mut super::super::Security:: SECURITY_QUALITY_OF_SERVICE) -> super::super::Foundation:: BOOL);
52 #[cfg(feature = "Win32_Foundation")]
53 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeSetUserHandle(hconv : HCONV, id : u32, huser : usize) -> super::super::Foundation:: BOOL);
54 #[cfg(feature = "Win32_Foundation")]
55 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeUnaccessData(hdata : HDDEDATA) -> super::super::Foundation:: BOOL);
56 #[cfg(feature = "Win32_Foundation")]
57 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdeUninitialize(idinst : u32) -> super::super::Foundation:: BOOL);
58 ::windows_targets::link!("kernel32.dll" "system" fn DeleteAtom(natom : u16) -> u16);
59 #[cfg(feature = "Win32_Foundation")]
60 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EmptyClipboard() -> super::super::Foundation:: BOOL);
61 ::windows_targets::link!("user32.dll" "system" fn EnumClipboardFormats(format : u32) -> u32);
62 ::windows_targets::link!("kernel32.dll" "system" fn FindAtomA(lpstring : ::windows_sys::core::PCSTR) -> u16);
63 ::windows_targets::link!("kernel32.dll" "system" fn FindAtomW(lpstring : ::windows_sys::core::PCWSTR) -> u16);
64 #[cfg(feature = "Win32_Foundation")]
65 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeDDElParam(msg : u32, lparam : super::super::Foundation:: LPARAM) -> super::super::Foundation:: BOOL);
66 ::windows_targets::link!("kernel32.dll" "system" fn GetAtomNameA(natom : u16, lpbuffer : ::windows_sys::core::PSTR, nsize : i32) -> u32);
67 ::windows_targets::link!("kernel32.dll" "system" fn GetAtomNameW(natom : u16, lpbuffer : ::windows_sys::core::PWSTR, nsize : i32) -> u32);
68 #[cfg(feature = "Win32_Foundation")]
69 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetClipboardData(uformat : u32) -> super::super::Foundation:: HANDLE);
70 ::windows_targets::link!("user32.dll" "system" fn GetClipboardFormatNameA(format : u32, lpszformatname : ::windows_sys::core::PSTR, cchmaxcount : i32) -> i32);
71 ::windows_targets::link!("user32.dll" "system" fn GetClipboardFormatNameW(format : u32, lpszformatname : ::windows_sys::core::PWSTR, cchmaxcount : i32) -> i32);
72 #[cfg(feature = "Win32_Foundation")]
73 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetClipboardOwner() -> super::super::Foundation:: HWND);
74 ::windows_targets::link!("user32.dll" "system" fn GetClipboardSequenceNumber() -> u32);
75 #[cfg(feature = "Win32_Foundation")]
76 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetClipboardViewer() -> super::super::Foundation:: HWND);
77 #[cfg(feature = "Win32_Foundation")]
78 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenClipboardWindow() -> super::super::Foundation:: HWND);
79 ::windows_targets::link!("user32.dll" "system" fn GetPriorityClipboardFormat(paformatprioritylist : *const u32, cformats : i32) -> i32);
80 #[cfg(feature = "Win32_Foundation")]
81 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUpdatedClipboardFormats(lpuiformats : *mut u32, cformats : u32, pcformatsout : *mut u32) -> super::super::Foundation:: BOOL);
82 ::windows_targets::link!("kernel32.dll" "system" fn GlobalAddAtomA(lpstring : ::windows_sys::core::PCSTR) -> u16);
83 ::windows_targets::link!("kernel32.dll" "system" fn GlobalAddAtomExA(lpstring : ::windows_sys::core::PCSTR, flags : u32) -> u16);
84 ::windows_targets::link!("kernel32.dll" "system" fn GlobalAddAtomExW(lpstring : ::windows_sys::core::PCWSTR, flags : u32) -> u16);
85 ::windows_targets::link!("kernel32.dll" "system" fn GlobalAddAtomW(lpstring : ::windows_sys::core::PCWSTR) -> u16);
86 ::windows_targets::link!("kernel32.dll" "system" fn GlobalDeleteAtom(natom : u16) -> u16);
87 ::windows_targets::link!("kernel32.dll" "system" fn GlobalFindAtomA(lpstring : ::windows_sys::core::PCSTR) -> u16);
88 ::windows_targets::link!("kernel32.dll" "system" fn GlobalFindAtomW(lpstring : ::windows_sys::core::PCWSTR) -> u16);
89 ::windows_targets::link!("kernel32.dll" "system" fn GlobalGetAtomNameA(natom : u16, lpbuffer : ::windows_sys::core::PSTR, nsize : i32) -> u32);
90 ::windows_targets::link!("kernel32.dll" "system" fn GlobalGetAtomNameW(natom : u16, lpbuffer : ::windows_sys::core::PWSTR, nsize : i32) -> u32);
91 #[cfg(feature = "Win32_Foundation")]
92 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ImpersonateDdeClientWindow(hwndclient : super::super::Foundation:: HWND, hwndserver : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL);
93 #[cfg(feature = "Win32_Foundation")]
94 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InitAtomTable(nsize : u32) -> super::super::Foundation:: BOOL);
95 #[cfg(feature = "Win32_Foundation")]
96 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsClipboardFormatAvailable(format : u32) -> super::super::Foundation:: BOOL);
97 #[cfg(feature = "Win32_Foundation")]
98 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenClipboard(hwndnewowner : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL);
99 #[cfg(feature = "Win32_Foundation")]
100 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PackDDElParam(msg : u32, uilo : usize, uihi : usize) -> super::super::Foundation:: LPARAM);
101 ::windows_targets::link!("user32.dll" "system" fn RegisterClipboardFormatA(lpszformat : ::windows_sys::core::PCSTR) -> u32);
102 ::windows_targets::link!("user32.dll" "system" fn RegisterClipboardFormatW(lpszformat : ::windows_sys::core::PCWSTR) -> u32);
103 #[cfg(feature = "Win32_Foundation")]
104 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveClipboardFormatListener(hwnd : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL);
105 #[cfg(feature = "Win32_Foundation")]
106 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReuseDDElParam(lparam : super::super::Foundation:: LPARAM, msgin : u32, msgout : u32, uilo : usize, uihi : usize) -> super::super::Foundation:: LPARAM);
107 #[cfg(feature = "Win32_Foundation")]
108 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetClipboardData(uformat : u32, hmem : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE);
109 #[cfg(feature = "Win32_Foundation")]
110 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetClipboardViewer(hwndnewviewer : super::super::Foundation:: HWND) -> super::super::Foundation:: HWND);
111 #[cfg(feature = "Win32_Graphics_Gdi")]
112 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn SetWinMetaFileBits(nsize : u32, lpmeta16data : *const u8, hdcref : super::super::Graphics::Gdi:: HDC, lpmfp : *const METAFILEPICT) -> super::super::Graphics::Gdi:: HENHMETAFILE);
113 #[cfg(feature = "Win32_Foundation")]
114 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnpackDDElParam(msg : u32, lparam : super::super::Foundation:: LPARAM, puilo : *mut usize, puihi : *mut usize) -> super::super::Foundation:: BOOL);
115 pub const APPCLASS_MASK: i32 = 15i32;
116 pub const APPCLASS_MONITOR: DDE_INITIALIZE_COMMAND = 1u32;
117 pub const APPCLASS_STANDARD: DDE_INITIALIZE_COMMAND = 0u32;
118 pub const APPCMD_CLIENTONLY: DDE_INITIALIZE_COMMAND = 16u32;
119 pub const APPCMD_FILTERINITS: DDE_INITIALIZE_COMMAND = 32u32;
120 pub const APPCMD_MASK: i32 = 4080i32;
121 pub const CADV_LATEACK: u32 = 65535u32;
122 pub const CBF_FAIL_ADVISES: DDE_INITIALIZE_COMMAND = 16384u32;
123 pub const CBF_FAIL_ALLSVRXACTIONS: DDE_INITIALIZE_COMMAND = 258048u32;
124 pub const CBF_FAIL_CONNECTIONS: DDE_INITIALIZE_COMMAND = 8192u32;
125 pub const CBF_FAIL_EXECUTES: DDE_INITIALIZE_COMMAND = 32768u32;
126 pub const CBF_FAIL_POKES: DDE_INITIALIZE_COMMAND = 65536u32;
127 pub const CBF_FAIL_REQUESTS: DDE_INITIALIZE_COMMAND = 131072u32;
128 pub const CBF_FAIL_SELFCONNECTIONS: DDE_INITIALIZE_COMMAND = 4096u32;
129 pub const CBF_SKIP_ALLNOTIFICATIONS: DDE_INITIALIZE_COMMAND = 3932160u32;
130 pub const CBF_SKIP_CONNECT_CONFIRMS: DDE_INITIALIZE_COMMAND = 262144u32;
131 pub const CBF_SKIP_DISCONNECTS: DDE_INITIALIZE_COMMAND = 2097152u32;
132 pub const CBF_SKIP_REGISTRATIONS: DDE_INITIALIZE_COMMAND = 524288u32;
133 pub const CBF_SKIP_UNREGISTRATIONS: DDE_INITIALIZE_COMMAND = 1048576u32;
134 pub const CP_WINANSI: i32 = 1004i32;
135 pub const CP_WINNEUTRAL: i32 = 1200i32;
136 pub const CP_WINUNICODE: i32 = 1200i32;
137 pub const DDE_FACK: u32 = 32768u32;
138 pub const DDE_FACKREQ: u32 = 32768u32;
139 pub const DDE_FAPPSTATUS: u32 = 255u32;
140 pub const DDE_FBUSY: u32 = 16384u32;
141 pub const DDE_FDEFERUPD: u32 = 16384u32;
142 pub const DDE_FNOTPROCESSED: u32 = 0u32;
143 pub const DDE_FRELEASE: u32 = 8192u32;
144 pub const DDE_FREQUESTED: u32 = 4096u32;
145 pub const DMLERR_ADVACKTIMEOUT: u32 = 16384u32;
146 pub const DMLERR_BUSY: u32 = 16385u32;
147 pub const DMLERR_DATAACKTIMEOUT: u32 = 16386u32;
148 pub const DMLERR_DLL_NOT_INITIALIZED: u32 = 16387u32;
149 pub const DMLERR_DLL_USAGE: u32 = 16388u32;
150 pub const DMLERR_EXECACKTIMEOUT: u32 = 16389u32;
151 pub const DMLERR_FIRST: u32 = 16384u32;
152 pub const DMLERR_INVALIDPARAMETER: u32 = 16390u32;
153 pub const DMLERR_LAST: u32 = 16401u32;
154 pub const DMLERR_LOW_MEMORY: u32 = 16391u32;
155 pub const DMLERR_MEMORY_ERROR: u32 = 16392u32;
156 pub const DMLERR_NOTPROCESSED: u32 = 16393u32;
157 pub const DMLERR_NO_CONV_ESTABLISHED: u32 = 16394u32;
158 pub const DMLERR_NO_ERROR: u32 = 0u32;
159 pub const DMLERR_POKEACKTIMEOUT: u32 = 16395u32;
160 pub const DMLERR_POSTMSG_FAILED: u32 = 16396u32;
161 pub const DMLERR_REENTRANCY: u32 = 16397u32;
162 pub const DMLERR_SERVER_DIED: u32 = 16398u32;
163 pub const DMLERR_SYS_ERROR: u32 = 16399u32;
164 pub const DMLERR_UNADVACKTIMEOUT: u32 = 16400u32;
165 pub const DMLERR_UNFOUND_QUEUE_ID: u32 = 16401u32;
166 pub const DNS_FILTEROFF: DDE_NAME_SERVICE_CMD = 8u32;
167 pub const DNS_FILTERON: DDE_NAME_SERVICE_CMD = 4u32;
168 pub const DNS_REGISTER: DDE_NAME_SERVICE_CMD = 1u32;
169 pub const DNS_UNREGISTER: DDE_NAME_SERVICE_CMD = 2u32;
170 pub const EC_DISABLE: DDE_ENABLE_CALLBACK_CMD = 8u32;
171 pub const EC_ENABLEALL: DDE_ENABLE_CALLBACK_CMD = 0u32;
172 pub const EC_ENABLEONE: DDE_ENABLE_CALLBACK_CMD = 128u32;
173 pub const EC_QUERYWAITING: DDE_ENABLE_CALLBACK_CMD = 2u32;
174 pub const HDATA_APPOWNED: u32 = 1u32;
175 pub const MAX_MONITORS: u32 = 4u32;
176 pub const MF_CALLBACKS: DDE_INITIALIZE_COMMAND = 134217728u32;
177 pub const MF_CONV: DDE_INITIALIZE_COMMAND = 1073741824u32;
178 pub const MF_ERRORS: DDE_INITIALIZE_COMMAND = 268435456u32;
179 pub const MF_HSZ_INFO: DDE_INITIALIZE_COMMAND = 16777216u32;
180 pub const MF_LINKS: DDE_INITIALIZE_COMMAND = 536870912u32;
181 pub const MF_MASK: u32 = 4278190080u32;
182 pub const MF_POSTMSGS: DDE_INITIALIZE_COMMAND = 67108864u32;
183 pub const MF_SENDMSGS: DDE_INITIALIZE_COMMAND = 33554432u32;
184 pub const MH_CLEANUP: u32 = 4u32;
185 pub const MH_CREATE: u32 = 1u32;
186 pub const MH_DELETE: u32 = 3u32;
187 pub const MH_KEEP: u32 = 2u32;
188 pub const MSGF_DDEMGR: u32 = 32769u32;
189 pub const QID_SYNC: u32 = 4294967295u32;
190 pub const ST_ADVISE: CONVINFO_STATUS = 2u32;
191 pub const ST_BLOCKED: CONVINFO_STATUS = 8u32;
192 pub const ST_BLOCKNEXT: CONVINFO_STATUS = 128u32;
193 pub const ST_CLIENT: CONVINFO_STATUS = 16u32;
194 pub const ST_CONNECTED: CONVINFO_STATUS = 1u32;
195 pub const ST_INLIST: CONVINFO_STATUS = 64u32;
196 pub const ST_ISLOCAL: CONVINFO_STATUS = 4u32;
197 pub const ST_ISSELF: CONVINFO_STATUS = 256u32;
198 pub const ST_TERMINATED: CONVINFO_STATUS = 32u32;
199 pub const SZDDESYS_ITEM_FORMATS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Formats");
200 pub const SZDDESYS_ITEM_HELP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Help");
201 pub const SZDDESYS_ITEM_RTNMSG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ReturnMessage");
202 pub const SZDDESYS_ITEM_STATUS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Status");
203 pub const SZDDESYS_ITEM_SYSITEMS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SysItems");
204 pub const SZDDESYS_ITEM_TOPICS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Topics");
205 pub const SZDDESYS_TOPIC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("System");
206 pub const SZDDE_ITEM_ITEMLIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TopicItemList");
207 pub const TIMEOUT_ASYNC: u32 = 4294967295u32;
208 pub const WM_DDE_ACK: u32 = 996u32;
209 pub const WM_DDE_ADVISE: u32 = 994u32;
210 pub const WM_DDE_DATA: u32 = 997u32;
211 pub const WM_DDE_EXECUTE: u32 = 1000u32;
212 pub const WM_DDE_FIRST: u32 = 992u32;
213 pub const WM_DDE_INITIATE: u32 = 992u32;
214 pub const WM_DDE_LAST: u32 = 1000u32;
215 pub const WM_DDE_POKE: u32 = 999u32;
216 pub const WM_DDE_REQUEST: u32 = 998u32;
217 pub const WM_DDE_TERMINATE: u32 = 993u32;
218 pub const WM_DDE_UNADVISE: u32 = 995u32;
219 pub const XCLASS_BOOL: u32 = 4096u32;
220 pub const XCLASS_DATA: u32 = 8192u32;
221 pub const XCLASS_FLAGS: u32 = 16384u32;
222 pub const XCLASS_MASK: u32 = 64512u32;
223 pub const XCLASS_NOTIFICATION: u32 = 32768u32;
224 pub const XST_ADVACKRCVD: CONVINFO_CONVERSATION_STATE = 13u32;
225 pub const XST_ADVDATAACKRCVD: CONVINFO_CONVERSATION_STATE = 16u32;
226 pub const XST_ADVDATASENT: CONVINFO_CONVERSATION_STATE = 15u32;
227 pub const XST_ADVSENT: CONVINFO_CONVERSATION_STATE = 11u32;
228 pub const XST_CONNECTED: CONVINFO_CONVERSATION_STATE = 2u32;
229 pub const XST_DATARCVD: CONVINFO_CONVERSATION_STATE = 6u32;
230 pub const XST_EXECACKRCVD: CONVINFO_CONVERSATION_STATE = 10u32;
231 pub const XST_EXECSENT: CONVINFO_CONVERSATION_STATE = 9u32;
232 pub const XST_INCOMPLETE: CONVINFO_CONVERSATION_STATE = 1u32;
233 pub const XST_INIT1: CONVINFO_CONVERSATION_STATE = 3u32;
234 pub const XST_INIT2: CONVINFO_CONVERSATION_STATE = 4u32;
235 pub const XST_NULL: CONVINFO_CONVERSATION_STATE = 0u32;
236 pub const XST_POKEACKRCVD: CONVINFO_CONVERSATION_STATE = 8u32;
237 pub const XST_POKESENT: CONVINFO_CONVERSATION_STATE = 7u32;
238 pub const XST_REQSENT: CONVINFO_CONVERSATION_STATE = 5u32;
239 pub const XST_UNADVACKRCVD: CONVINFO_CONVERSATION_STATE = 14u32;
240 pub const XST_UNADVSENT: CONVINFO_CONVERSATION_STATE = 12u32;
241 pub const XTYPF_ACKREQ: u32 = 8u32;
242 pub const XTYPF_NOBLOCK: u32 = 2u32;
243 pub const XTYPF_NODATA: u32 = 4u32;
244 pub const XTYP_ADVDATA: DDE_CLIENT_TRANSACTION_TYPE = 16400u32;
245 pub const XTYP_ADVREQ: DDE_CLIENT_TRANSACTION_TYPE = 8226u32;
246 pub const XTYP_ADVSTART: DDE_CLIENT_TRANSACTION_TYPE = 4144u32;
247 pub const XTYP_ADVSTOP: DDE_CLIENT_TRANSACTION_TYPE = 32832u32;
248 pub const XTYP_CONNECT: DDE_CLIENT_TRANSACTION_TYPE = 4194u32;
249 pub const XTYP_CONNECT_CONFIRM: DDE_CLIENT_TRANSACTION_TYPE = 32882u32;
250 pub const XTYP_DISCONNECT: DDE_CLIENT_TRANSACTION_TYPE = 32962u32;
251 pub const XTYP_EXECUTE: DDE_CLIENT_TRANSACTION_TYPE = 16464u32;
252 pub const XTYP_MASK: u32 = 240u32;
253 pub const XTYP_MONITOR: DDE_CLIENT_TRANSACTION_TYPE = 33010u32;
254 pub const XTYP_POKE: DDE_CLIENT_TRANSACTION_TYPE = 16528u32;
255 pub const XTYP_REGISTER: DDE_CLIENT_TRANSACTION_TYPE = 32930u32;
256 pub const XTYP_REQUEST: DDE_CLIENT_TRANSACTION_TYPE = 8368u32;
257 pub const XTYP_SHIFT: u32 = 4u32;
258 pub const XTYP_UNREGISTER: DDE_CLIENT_TRANSACTION_TYPE = 32978u32;
259 pub const XTYP_WILDCONNECT: DDE_CLIENT_TRANSACTION_TYPE = 8418u32;
260 pub const XTYP_XACT_COMPLETE: DDE_CLIENT_TRANSACTION_TYPE = 32896u32;
261 pub type CONVINFO_CONVERSATION_STATE = u32;
262 pub type CONVINFO_STATUS = u32;
263 pub type DDE_CLIENT_TRANSACTION_TYPE = u32;
264 pub type DDE_ENABLE_CALLBACK_CMD = u32;
265 pub type DDE_INITIALIZE_COMMAND = u32;
266 pub type DDE_NAME_SERVICE_CMD = u32;
267 #[repr(C)]
268 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
269 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
270 pub struct CONVCONTEXT {
271 pub cb: u32,
272 pub wFlags: u32,
273 pub wCountryID: u32,
274 pub iCodePage: i32,
275 pub dwLangID: u32,
276 pub dwSecurity: u32,
277 pub qos: super::super::Security::SECURITY_QUALITY_OF_SERVICE,
278 }
279 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
280 impl ::core::marker::Copy for CONVCONTEXT {}
281 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
282 impl ::core::clone::Clone for CONVCONTEXT {
283 fn clone(&self) -> Self {
284 *self
285 }
286 }
287 #[repr(C)]
288 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
289 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
290 pub struct CONVINFO {
291 pub cb: u32,
292 pub hUser: usize,
293 pub hConvPartner: HCONV,
294 pub hszSvcPartner: HSZ,
295 pub hszServiceReq: HSZ,
296 pub hszTopic: HSZ,
297 pub hszItem: HSZ,
298 pub wFmt: u32,
299 pub wType: DDE_CLIENT_TRANSACTION_TYPE,
300 pub wStatus: CONVINFO_STATUS,
301 pub wConvst: CONVINFO_CONVERSATION_STATE,
302 pub wLastError: u32,
303 pub hConvList: HCONVLIST,
304 pub ConvCtxt: CONVCONTEXT,
305 pub hwnd: super::super::Foundation::HWND,
306 pub hwndPartner: super::super::Foundation::HWND,
307 }
308 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
309 impl ::core::marker::Copy for CONVINFO {}
310 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
311 impl ::core::clone::Clone for CONVINFO {
312 fn clone(&self) -> Self {
313 *self
314 }
315 }
316 #[repr(C)]
317 pub struct COPYDATASTRUCT {
318 pub dwData: usize,
319 pub cbData: u32,
320 pub lpData: *mut ::core::ffi::c_void,
321 }
322 impl ::core::marker::Copy for COPYDATASTRUCT {}
323 impl ::core::clone::Clone for COPYDATASTRUCT {
324 fn clone(&self) -> Self {
325 *self
326 }
327 }
328 #[repr(C)]
329 pub struct DDEACK {
330 pub _bitfield: u16,
331 }
332 impl ::core::marker::Copy for DDEACK {}
333 impl ::core::clone::Clone for DDEACK {
334 fn clone(&self) -> Self {
335 *self
336 }
337 }
338 #[repr(C)]
339 pub struct DDEADVISE {
340 pub _bitfield: u16,
341 pub cfFormat: i16,
342 }
343 impl ::core::marker::Copy for DDEADVISE {}
344 impl ::core::clone::Clone for DDEADVISE {
345 fn clone(&self) -> Self {
346 *self
347 }
348 }
349 #[repr(C)]
350 pub struct DDEDATA {
351 pub _bitfield: u16,
352 pub cfFormat: i16,
353 pub Value: [u8; 1],
354 }
355 impl ::core::marker::Copy for DDEDATA {}
356 impl ::core::clone::Clone for DDEDATA {
357 fn clone(&self) -> Self {
358 *self
359 }
360 }
361 #[repr(C)]
362 pub struct DDELN {
363 pub _bitfield: u16,
364 pub cfFormat: i16,
365 }
366 impl ::core::marker::Copy for DDELN {}
367 impl ::core::clone::Clone for DDELN {
368 fn clone(&self) -> Self {
369 *self
370 }
371 }
372 #[repr(C)]
373 pub struct DDEML_MSG_HOOK_DATA {
374 pub uiLo: usize,
375 pub uiHi: usize,
376 pub cbData: u32,
377 pub Data: [u32; 8],
378 }
379 impl ::core::marker::Copy for DDEML_MSG_HOOK_DATA {}
380 impl ::core::clone::Clone for DDEML_MSG_HOOK_DATA {
381 fn clone(&self) -> Self {
382 *self
383 }
384 }
385 #[repr(C)]
386 pub struct DDEPOKE {
387 pub _bitfield: u16,
388 pub cfFormat: i16,
389 pub Value: [u8; 1],
390 }
391 impl ::core::marker::Copy for DDEPOKE {}
392 impl ::core::clone::Clone for DDEPOKE {
393 fn clone(&self) -> Self {
394 *self
395 }
396 }
397 #[repr(C)]
398 pub struct DDEUP {
399 pub _bitfield: u16,
400 pub cfFormat: i16,
401 pub rgb: [u8; 1],
402 }
403 impl ::core::marker::Copy for DDEUP {}
404 impl ::core::clone::Clone for DDEUP {
405 fn clone(&self) -> Self {
406 *self
407 }
408 }
409 pub type HCONV = isize;
410 pub type HCONVLIST = isize;
411 pub type HDDEDATA = isize;
412 pub type HSZ = isize;
413 #[repr(C)]
414 pub struct HSZPAIR {
415 pub hszSvc: HSZ,
416 pub hszTopic: HSZ,
417 }
418 impl ::core::marker::Copy for HSZPAIR {}
419 impl ::core::clone::Clone for HSZPAIR {
420 fn clone(&self) -> Self {
421 *self
422 }
423 }
424 #[repr(C)]
425 #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"]
426 #[cfg(feature = "Win32_Graphics_Gdi")]
427 pub struct METAFILEPICT {
428 pub mm: i32,
429 pub xExt: i32,
430 pub yExt: i32,
431 pub hMF: super::super::Graphics::Gdi::HMETAFILE,
432 }
433 #[cfg(feature = "Win32_Graphics_Gdi")]
434 impl ::core::marker::Copy for METAFILEPICT {}
435 #[cfg(feature = "Win32_Graphics_Gdi")]
436 impl ::core::clone::Clone for METAFILEPICT {
437 fn clone(&self) -> Self {
438 *self
439 }
440 }
441 #[repr(C)]
442 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
443 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
444 pub struct MONCBSTRUCT {
445 pub cb: u32,
446 pub dwTime: u32,
447 pub hTask: super::super::Foundation::HANDLE,
448 pub dwRet: u32,
449 pub wType: u32,
450 pub wFmt: u32,
451 pub hConv: HCONV,
452 pub hsz1: HSZ,
453 pub hsz2: HSZ,
454 pub hData: HDDEDATA,
455 pub dwData1: usize,
456 pub dwData2: usize,
457 pub cc: CONVCONTEXT,
458 pub cbData: u32,
459 pub Data: [u32; 8],
460 }
461 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
462 impl ::core::marker::Copy for MONCBSTRUCT {}
463 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
464 impl ::core::clone::Clone for MONCBSTRUCT {
465 fn clone(&self) -> Self {
466 *self
467 }
468 }
469 #[repr(C)]
470 #[doc = "Required features: `\"Win32_Foundation\"`"]
471 #[cfg(feature = "Win32_Foundation")]
472 pub struct MONCONVSTRUCT {
473 pub cb: u32,
474 pub fConnect: super::super::Foundation::BOOL,
475 pub dwTime: u32,
476 pub hTask: super::super::Foundation::HANDLE,
477 pub hszSvc: HSZ,
478 pub hszTopic: HSZ,
479 pub hConvClient: HCONV,
480 pub hConvServer: HCONV,
481 }
482 #[cfg(feature = "Win32_Foundation")]
483 impl ::core::marker::Copy for MONCONVSTRUCT {}
484 #[cfg(feature = "Win32_Foundation")]
485 impl ::core::clone::Clone for MONCONVSTRUCT {
486 fn clone(&self) -> Self {
487 *self
488 }
489 }
490 #[repr(C)]
491 #[doc = "Required features: `\"Win32_Foundation\"`"]
492 #[cfg(feature = "Win32_Foundation")]
493 pub struct MONERRSTRUCT {
494 pub cb: u32,
495 pub wLastError: u32,
496 pub dwTime: u32,
497 pub hTask: super::super::Foundation::HANDLE,
498 }
499 #[cfg(feature = "Win32_Foundation")]
500 impl ::core::marker::Copy for MONERRSTRUCT {}
501 #[cfg(feature = "Win32_Foundation")]
502 impl ::core::clone::Clone for MONERRSTRUCT {
503 fn clone(&self) -> Self {
504 *self
505 }
506 }
507 #[repr(C)]
508 #[doc = "Required features: `\"Win32_Foundation\"`"]
509 #[cfg(feature = "Win32_Foundation")]
510 pub struct MONHSZSTRUCTA {
511 pub cb: u32,
512 pub fsAction: super::super::Foundation::BOOL,
513 pub dwTime: u32,
514 pub hsz: HSZ,
515 pub hTask: super::super::Foundation::HANDLE,
516 pub str: [u8; 1],
517 }
518 #[cfg(feature = "Win32_Foundation")]
519 impl ::core::marker::Copy for MONHSZSTRUCTA {}
520 #[cfg(feature = "Win32_Foundation")]
521 impl ::core::clone::Clone for MONHSZSTRUCTA {
522 fn clone(&self) -> Self {
523 *self
524 }
525 }
526 #[repr(C)]
527 #[doc = "Required features: `\"Win32_Foundation\"`"]
528 #[cfg(feature = "Win32_Foundation")]
529 pub struct MONHSZSTRUCTW {
530 pub cb: u32,
531 pub fsAction: super::super::Foundation::BOOL,
532 pub dwTime: u32,
533 pub hsz: HSZ,
534 pub hTask: super::super::Foundation::HANDLE,
535 pub str: [u16; 1],
536 }
537 #[cfg(feature = "Win32_Foundation")]
538 impl ::core::marker::Copy for MONHSZSTRUCTW {}
539 #[cfg(feature = "Win32_Foundation")]
540 impl ::core::clone::Clone for MONHSZSTRUCTW {
541 fn clone(&self) -> Self {
542 *self
543 }
544 }
545 #[repr(C)]
546 #[doc = "Required features: `\"Win32_Foundation\"`"]
547 #[cfg(feature = "Win32_Foundation")]
548 pub struct MONLINKSTRUCT {
549 pub cb: u32,
550 pub dwTime: u32,
551 pub hTask: super::super::Foundation::HANDLE,
552 pub fEstablished: super::super::Foundation::BOOL,
553 pub fNoData: super::super::Foundation::BOOL,
554 pub hszSvc: HSZ,
555 pub hszTopic: HSZ,
556 pub hszItem: HSZ,
557 pub wFmt: u32,
558 pub fServer: super::super::Foundation::BOOL,
559 pub hConvServer: HCONV,
560 pub hConvClient: HCONV,
561 }
562 #[cfg(feature = "Win32_Foundation")]
563 impl ::core::marker::Copy for MONLINKSTRUCT {}
564 #[cfg(feature = "Win32_Foundation")]
565 impl ::core::clone::Clone for MONLINKSTRUCT {
566 fn clone(&self) -> Self {
567 *self
568 }
569 }
570 #[repr(C)]
571 #[doc = "Required features: `\"Win32_Foundation\"`"]
572 #[cfg(feature = "Win32_Foundation")]
573 pub struct MONMSGSTRUCT {
574 pub cb: u32,
575 pub hwndTo: super::super::Foundation::HWND,
576 pub dwTime: u32,
577 pub hTask: super::super::Foundation::HANDLE,
578 pub wMsg: u32,
579 pub wParam: super::super::Foundation::WPARAM,
580 pub lParam: super::super::Foundation::LPARAM,
581 pub dmhd: DDEML_MSG_HOOK_DATA,
582 }
583 #[cfg(feature = "Win32_Foundation")]
584 impl ::core::marker::Copy for MONMSGSTRUCT {}
585 #[cfg(feature = "Win32_Foundation")]
586 impl ::core::clone::Clone for MONMSGSTRUCT {
587 fn clone(&self) -> Self {
588 *self
589 }
590 }
591 pub type PFNCALLBACK = ::core::option::Option<unsafe extern "system" fn(wtype: u32, wfmt: u32, hconv: HCONV, hsz1: HSZ, hsz2: HSZ, hdata: HDDEDATA, dwdata1: usize, dwdata2: usize) -> HDDEDATA>;