Hi,
I want to verify that the "if (!protected) ..." are correct.
That is, on non-Win2000 platforms, we can't verify LastError == ERROR_SUCCESS, so I have removed those as per Juan's request. However, there are two places where Win2000 is returning a different error code.
So the question is, is this the correct way to do this (and because I have changed the condition for the first test that I have changed I want to verify it stll works on Win2000).
Thanks, - Reece