diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/Reg.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,18 @@
     1.4 +#ifndef VBA_REG_H
     1.5 +#define VBA_REG_H
     1.6 +
     1.7 +extern bool regEnabled;
     1.8 +
     1.9 +const char *regQueryStringValue(const char *key, const char *def);
    1.10 +DWORD regQueryDwordValue(const char *key, DWORD def, bool force = false);
    1.11 +BOOL regQueryBinaryValue(const char *key, char *value, int count);
    1.12 +void regSetStringValue(const char *key, const char *value);
    1.13 +void regSetDwordValue(const char *key, DWORD value, bool force = false);
    1.14 +void regSetBinaryValue(const char *key, char *value, int count);
    1.15 +void regDeleteValue(const char *key);
    1.16 +void regInit(const char *);
    1.17 +void regShutdown();
    1.18 +bool regCreateFileType(const char *ext, const char *type);
    1.19 +bool regAssociateType(const char *type, const char *desc, const char *application);
    1.20 +void regExportSettingsToINI();
    1.21 +#endif // VBA_REG_H