# PetscSFWindowSetInfo
Set the `MPI_Info` handle that will be used for subsequent windows allocation 
## Synopsis
```
#include "petscsf.h" 
PetscErrorCode PetscSFWindowSetInfo(PetscSF sf, MPI_Info info)
```
Logically Collective


## Input Parameters

- ***sf -*** star forest for communication
- ***info -*** `MPI_Info` handle





## Note
The info handle is duplicated with a call to `MPI_Info_dup()` unless info = `MPI_INFO_NULL`.


## See Also
 `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetFromOptions()`, `PetscSFWindowGetInfo()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/sf/impls/window/sfwindow.c.html#PetscSFWindowSetInfo">src/vec/is/sf/impls/window/sfwindow.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/sf/impls/window/sfwindow.c.html#PetscSFWindowSetInfo_Window">PetscSFWindowSetInfo_Window in src/vec/is/sf/impls/window/sfwindow.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/sf/impls/window/sfwindow.c)


[Index of all PetscSF routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
