21#import "OFWindowsRegistryKey.h"
25OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
44@property (readonly, nonatomic) OFWindowsRegistryKey *
registryKey;
54@property (readonly, nonatomic) LSTATUS
status;
65+ (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
67 status: (LSTATUS)status;
69- (instancetype)
init OF_UNAVAILABLE;
80- (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
82 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
An exception indicating that deleting a Windows registry key failed.
Definition OFDeleteWindowsRegistryKeyFailedException.h:34
LSTATUS status
The status returned by RegDeleteKeyEx().
Definition OFDeleteWindowsRegistryKeyFailedException.h:54
OFString * subkeyPath
The path of the subkey which could not be deleted.
Definition OFDeleteWindowsRegistryKeyFailedException.h:49
OFWindowsRegistryKey * registryKey
The registry key on which deleting the subkey failed.
Definition OFDeleteWindowsRegistryKeyFailedException.h:44
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
A class for handling strings.
Definition OFString.h:143