# PetscSFWindowGetInfo
Get the `MPI_Info` handle used for windows allocation 
## Synopsis
```
#include "petscsf.h" 
PetscErrorCode PetscSFWindowGetInfo(PetscSF sf, MPI_Info *info)
```
Logically Collective


## Input Parameter

- ***sf -*** star forest for communication



## Output Parameter

- ***info -*** `MPI_Info` handle





## Note
If `PetscSFWindowSetInfo()` has not be called, this returns `MPI_INFO_NULL`


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

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/sf/impls/window/sfwindow.c.html#PetscSFWindowGetInfo">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#PetscSFWindowGetInfo_Window">PetscSFWindowGetInfo_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)  
