21 #import "OFWindowsRegistryKey.h" 25 OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
46 @property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
51 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *valueName;
56 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFData *data;
61 @property (readonly, nonatomic) DWORD type;
66 @property (readonly, nonatomic) LSTATUS status;
79 + (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
80 valueName: (nullable
OFString *)valueName
81 data: (nullable
OFData *)data
83 status: (LSTATUS)status;
85 - (instancetype)init OF_UNAVAILABLE;
98 - (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
99 valueName: (nullable
OFString *)valueName
100 data: (nullable
OFData *)data
102 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
105 OF_ASSUME_NONNULL_END
A class for handling strings.
Definition: OFString.h:142
An exception indicating that setting a Windows registry value failed.
Definition: OFSetWindowsRegistryValueFailedException.h:33
The base class for all exceptions in ObjFW.
Definition: OFException.h:156
A class for storing arbitrary data in an array.
Definition: OFData.h:45