Murphy, Ged (Bolton) wrote:Timo Kreuzer wrote:This is the code: RtlFormatCurrentUserKeyPath(&CurrentUserKeyPath);InitializeObjectAttributes(&ObjectAttributes,&CurrentUserKeyPath,OBJ_CASE_IN SENSITIVE,NULL,NULL);Status = ZwOpenKey(&CurrentUserKeyHandle, KEY_READ, &ObjectAttributes); And I always get Status == STATUS_OBJECT_NAME_NOT_FOUNDWhat makes you sure ZwOpenKey is failing, and not one of the functions above it? You should use error checking where nessesary. Ged.I looked and we only have one entry, HKEY_CURRENT_USER\Control Panel\Colors\Background. Wine does not see any of this with regedit. Testing regedit at work (2k & XP) shows all of these settings. From wine source, static const char * const DefSysColors[] =