We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f1e09e commit f79c01bCopy full SHA for f79c01b
src/platform_impl/windows/window.rs
@@ -278,7 +278,7 @@ impl Window {
278
279
#[inline]
280
pub fn hinstance(&self) -> HINSTANCE {
281
- unsafe { winuser::GetWindowLongW(self.hwnd(), winuser::GWL_HINSTANCE) as *mut _ }
+ unsafe { winuser::GetWindowLongPtrW(self.hwnd(), winuser::GWLP_HINSTANCE) as *mut _ }
282
}
283
284
0 commit comments