pub fn DPtoLP_Size(&self,lpSize: LPSIZE)->BOOL {
		let mut sizeWinExt = SIZE{cx: 0, cy: 0};
		if self.GetWindowExt(&mut sizeWinExt) == winapi::shared::minwindef::FALSE {
			return winapi::shared::minwindef::FALSE;
		}
		let mut sizeVpExt = SIZE{cx: 0, cy: 0};
		if self.GetViewportExt(&mut sizeVpExt) == winapi::shared::minwindef::FALSE {
			return winapi::shared::minwindef::FALSE;
		}
		unsafe{
			let p = &mut *lpSize;
			p.cx = um::winbase::MulDiv(p.cx, abs(sizeWinExt.cx), abs(sizeVpExt.cx));
			p.cy = um::winbase::MulDiv(p.cy, abs(sizeWinExt.cy), abs(sizeVpExt.cy));
		}
		winapi::shared::minwindef::TRUE
	}
/// origin name :DPtoLP,overload function ,used for SIZE 

origin name :DPtoLP,overload function ,used for SIZE
origin name : DPtoLP overload function used for SIZE
pub fn DPtoLP_Size(&self,lpSize: LPSIZE)->BOOL {
		let mut sizeWinExt = SIZE{cx: 0, cy: 0};
		if self.GetWindowExt(&mut sizeWinExt) == winapi::shared::minwindef::FALSE {
			return winapi::shared::minwindef::FALSE;
		}
		let mut sizeVpExt = SIZE{cx: 0, cy: 0};
		if self.GetViewportExt(&mut sizeVpExt) == winapi::shared::minwindef::FALSE {
			return winapi::shared::minwindef::FALSE;
		}
		unsafe{
			let p = &mut *lpSize;
			p.cx = um::winbase::MulDiv(p.cx, abs(sizeWinExt.cx), abs(sizeVpExt.cx));
			p.cy = um::winbase::MulDiv(p.cy, abs(sizeWinExt.cy), abs(sizeVpExt.cy));
		}
		winapi::shared::minwindef::TRUE
	}
pub fn DPtoLP_Size ( & self , lpSize : LPSIZE ) -> BOOL { let mut sizeWinExt = SIZE { cx : 0 , cy : 0 } ; if self . GetWindowExt ( & mut sizeWinExt ) == winapi :: shared :: minwindef :: FALSE { return winapi :: shared :: minwindef :: FALSE ; } let mut sizeVpExt = SIZE { cx : 0 , cy : 0 } ; if self . GetViewportExt ( & mut sizeVpExt ) == winapi :: shared :: minwindef :: FALSE { return winapi :: shared :: minwindef :: FALSE ; } unsafe { let p = & mut * lpSize ; p . cx = um :: winbase :: MulDiv ( p . cx , abs ( sizeWinExt . cx ) , abs ( sizeVpExt . cx ) ) ; p . cy = um :: winbase :: MulDiv ( p . cy , abs ( sizeWinExt . cy ) , abs ( sizeVpExt . cy ) ) ; } winapi :: shared :: minwindef :: TRUE }
origin name :DPtoLP,overload function ,used for SIZE
origin name : DPtoLP overload function used for SIZE
&self
lpSize
LPSIZE
&self
lpSize
LPSIZE