added enable and disable APIs to high level GWIN code