# mco_cluster_set_window_params

This function sets the current transaction window parameters.

### For an overview see page Cluster Applications in C

### Prototype

        MCO_RET	mco_cluster_set_window_params (	/*IN*/ mco_db_h db,
                               /*IN*/ mco_cluster_window_t* window_params )

### Arguments

db | Connection to the database.
window_params | Cluster window parameters.

### Description

This function sets new transaction window parameters.

### Return Codes

MCO_S_OK | Window parameters returned successfully
MCO_E_CLUSTER_NOT_INITIALIZED | The database was not created by `mco_cluster_db_open()`. Note: it may have been created by `mco_db_open_dev()` by mistake

### Files

Header file:
mcocluster.h
Source file:
mcocluster.c
Library:
libmcocluster.a