pub fn new(item_count: i32) -> Result<DeferredWindowPositioner, &'static str> {
        use ::winapi::um::winuser::BeginDeferWindowPos;

        let handle = unsafe { BeginDeferWindowPos(item_count) };

        if handle.is_null() {
            Err(DeferredWindowPositioner::MEM_FAIL)
        }
        else {
            Ok(DeferredWindowPositioner {
                handle
            })
        }
    }
/// Initialises a new DeferredWindowPositioner with memory for `item_count` windows
Initialises a new DeferredWindowPositioner with memory for `item_count` windows
Initialises a new DeferredWindowPositioner with memory for ` item_count ` windows
pub fn new(item_count: i32) -> Result<DeferredWindowPositioner, &'static str> {
        use ::winapi::um::winuser::BeginDeferWindowPos;
        let handle = unsafe { BeginDeferWindowPos(item_count) };
        if handle.is_null() {
            Err(DeferredWindowPositioner::MEM_FAIL)
        }
        else {
            Ok(DeferredWindowPositioner {
                handle
            })
        }
    }
pub fn new ( item_count : i32 ) -> Result < DeferredWindowPositioner , & ' static str > { use :: winapi :: um :: winuser :: BeginDeferWindowPos ; let handle = unsafe { BeginDeferWindowPos ( item_count ) } ; if handle . is_null ( ) { Err ( DeferredWindowPositioner :: MEM_FAIL ) } else { Ok ( DeferredWindowPositioner { handle } ) } }
Initialises a new DeferredWindowPositioner with memory for `item_count` windows
Initialises a new DeferredWindowPositioner with memory for ` item_count ` windows
item_count
i32