21 OF_ASSUME_NONNULL_BEGIN
29 OF_SUBCLASSING_RESTRICTED
30 @interface OFWindowsRegistryKey:
OFObject
41 + (instancetype)classesRootKey;
48 + (instancetype)currentConfigKey;
55 + (instancetype)currentUserKey;
62 + (instancetype)localMachineKey;
69 + (instancetype)usersKey;
71 - (instancetype)init OF_UNAVAILABLE;
84 - (OFWindowsRegistryKey *)openSubkeyAtPath: (
OFString *)path
85 accessRights: (REGSAM)accessRights
86 options: (DWORD)options;
106 - (OFWindowsRegistryKey *)
107 createSubkeyAtPath: (
OFString *)path
108 accessRights: (REGSAM)accessRights
109 securityAttributes: (nullable SECURITY_ATTRIBUTES *)securityAttributes
110 options: (DWORD)options
111 disposition: (nullable DWORD *)disposition;
122 type: (nullable DWORD *)type;
132 - (void)setData: (nullable
OFData *)data
133 forValueNamed: (nullable
OFString *)name
156 type: (nullable DWORD *)type;
165 - (void)setString: (nullable
OFString *)string
166 forValueNamed: (nullable
OFString *)name;
176 - (void)setString: (nullable
OFString *)string
177 forValueNamed: (nullable
OFString *)name
188 - (uint32_t)DWORDForValueNamed: (nullable
OFString *)name;
197 - (void)setDWORD: (uint32_t)dword forValueNamed: (nullable
OFString *)name;
207 - (uint64_t)QWORDForValueNamed: (nullable
OFString *)name;
216 - (void)setQWORD: (uint64_t)qword forValueNamed: (nullable
OFString *)name;
224 - (void)deleteValueNamed: (nullable
OFString *)name;
232 - (void)deleteSubkeyAtPath: (
OFString *)subkeyPath;
235 OF_ASSUME_NONNULL_END
A class for storing arbitrary data in an array.
Definition: OFData.h:42
The root class for all other classes inside ObjFW.
Definition: OFObject.h:688
A class for handling strings.
Definition: OFString.h:135