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. 6 use shared::basetsd::{PUINT_PTR, UINT_PTR}; 7 use shared::minwindef::{BOOL, LPARAM, UINT}; 8 extern "system" { PackDDElParam( msg: UINT, uiLo: UINT_PTR, uiHi: UINT_PTR, ) -> LPARAM9 pub fn PackDDElParam( 10 msg: UINT, 11 uiLo: UINT_PTR, 12 uiHi: UINT_PTR, 13 ) -> LPARAM; UnpackDDElParam( msg: UINT, lParam: LPARAM, puiLo: PUINT_PTR, puiHi: PUINT_PTR, ) -> BOOL14 pub fn UnpackDDElParam( 15 msg: UINT, 16 lParam: LPARAM, 17 puiLo: PUINT_PTR, 18 puiHi: PUINT_PTR, 19 ) -> BOOL; 20 } 21