/***************************************************************************
 *                                                                         *
 *   KEYAPI.H                                                              *
 *                                                                         *
 *   Copyright (c) 1996 Galacticomm, Inc.      All Rights Reserved.        *
 *                                                                         *
 *   Registry key semaphores API header file.                              *
 *                                                                         *
 *                                           - Joe Delekto 8/20/96         *
 *                                                                         *
 ***************************************************************************/

#ifndef __KEYAPI_H
#define __KEYAPI_H

GBOOL regKeyExist(const CHAR *keyname);
GBOOL regKeySet(const CHAR *keyname,const CHAR *keyval);
GBOOL regKeyDelete(const CHAR *keyname);
CHAR *regKeyValue(const CHAR *keyname,CHAR *keyval,DWORD length);

#define KEY_API_ROOT_KEY "SOFTWARE\\Galacticomm\\" SVR_NAME "\\Semaphores\\"

#define KEYPTH_SIZE      1024      // Maximum length of key name
#define KEYVAL_SIZE      128       // Maximum length of key value

#endif                             // __KEYAPI_H