diff options
Diffstat (limited to 'winsup/cygwin/registry.h')
-rw-r--r-- | winsup/cygwin/registry.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/registry.h b/winsup/cygwin/registry.h index 640998a3b..dd239d09c 100644 --- a/winsup/cygwin/registry.h +++ b/winsup/cygwin/registry.h @@ -25,13 +25,13 @@ public: void *operator new (size_t, void *p) {return p;} void build_reg (HKEY key, REGSAM access, va_list av); - int error () {return key == NULL;} + bool error () {return key == NULL;} - int get_int (PCWSTR, int); - int get_string (PCWSTR, PWCHAR, size_t, PCWSTR); + DWORD get_dword (PCWSTR, DWORD); + NTSTATUS get_string (PCWSTR, PWCHAR, size_t, PCWSTR); - int set_int (PCWSTR, int); - int set_string (PCWSTR, PCWSTR); + NTSTATUS set_dword (PCWSTR, DWORD); + NTSTATUS set_string (PCWSTR, PCWSTR); bool created () const {return _disposition & REG_CREATED_NEW_KEY;} |