Skip to main content

finestre_sys/comctl32/
mod.rs

1mod consts;
2pub use consts::*;
3use crate::typedefs::*;
4
5#[link(name = "Comctl32")]
6unsafe extern "system" {
7    pub unsafe fn InitCommonControlsEx(init_common_controls_ex: *const InitCommonControlsEx) -> BOOL;
8}
9
10
11#[repr(C)]
12#[derive(finestre_init_with_size_derive::InitWithSize)]
13pub struct InitCommonControlsEx {
14    pub size: DWORD,
15    pub init_common_controls: DWORD
16}