Hi we do not have SysColors key in ros reg and that reason it fail. he did igonre jimtablor. if it same guy I thinking of I told him we do not have reg key for SysColors and spi message to get and set. and SysColors is hard code into win32k
----- Original Message ----- From: "Alex Ionescu" ionucu@videotron.ca To: "ReactOS Development List" ros-dev@reactos.org Sent: Wednesday, August 02, 2006 5:39 PM Subject: Re: [ros-dev] Probelms with ZwOpenKey or RtlFormatCurrentUserKeyPath?
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_FOUND
What makes you sure ZwOpenKey is failing, and not one of the functions
above
it? You should use error checking where nessesary.
That's why I told him to print out the value of &CurrentUserKeyPath. He seems to have ignored my email...
Best regards, Alex Ionescu _______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev