21#import "OFWindowsRegistryKey.h"
25OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
46@property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
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;
A class for storing arbitrary data in an array.
Definition OFData.h:46
The base class for all exceptions in ObjFW.
Definition OFException.h:157
An exception indicating that setting a Windows registry value failed.
Definition OFSetWindowsRegistryValueFailedException.h:34
OFData * data
The data to which the value could not be set.
Definition OFSetWindowsRegistryValueFailedException.h:56
OFString * valueName
The name of the value which could not be set.
Definition OFSetWindowsRegistryValueFailedException.h:51
A class for handling strings.
Definition OFString.h:143