Adding allocate variant for win_create