winapi_ui_automation/um/
dde.rs

1// Licensed under the Apache License, Version 2.0
2// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4// All files in the project carrying such notice may not be copied, modified, or distributed
5// except according to those terms.
6use shared::basetsd::{PUINT_PTR, UINT_PTR};
7use shared::minwindef::{BOOL, LPARAM, UINT};
8extern "system" {
9    pub fn PackDDElParam(
10        msg: UINT,
11        uiLo: UINT_PTR,
12        uiHi: UINT_PTR,
13    ) -> LPARAM;
14    pub fn UnpackDDElParam(
15        msg: UINT,
16        lParam: LPARAM,
17        puiLo: PUINT_PTR,
18        puiHi: PUINT_PTR,
19    ) -> BOOL;
20}