view src/win32/Reg.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line source
1 #ifndef VBA_REG_H
2 #define VBA_REG_H
4 extern bool regEnabled;
6 const char *regQueryStringValue(const char *key, const 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(const char *key);
13 void regInit(const char *);
14 void regShutdown();
15 bool regCreateFileType(const char *ext, const char *type);
16 bool regAssociateType(const char *type, const char *desc, const char *application);
17 void regExportSettingsToINI();
18 #endif // VBA_REG_H