MPI_Win_set_attr

int MPI_Win_set_attr(MPI_Win, int, void *);
Attaches the window attribute value to the window and associates it with the key.