1 #ifndef VBA_REG_H
2 #define VBA_REG_H
3 
4 extern bool regEnabled;
5 
6 char *regQueryStringValue(const char *key, char *def);
7 DWORD regQueryDwordValue(const char *key, DWORD def, bool force=false);
8 BOOL regQueryBinaryValue(const char *key, char *value, int count);
9 void regSetStringValue(const char *key,const char *value);
10 void regSetDwordValue(const char *key,DWORD value,bool force=false);
11 void regSetBinaryValue(const char *key, char *value, int count);
12 void regDeleteValue(char *key);
13 void regInit(const char *, bool force = false);
14 void regShutdown();
15 bool regCreateFileType( const char *ext, const char *type );
16 bool regAssociateType( const char *type, const char *desc, const char *application, const char *icon = NULL );
17 void regExportSettingsToINI();
18 #endif // VBA_REG_H
19