Is Windows running in Safe Mode?

Is there a way to detect if Windows 95 is currently running in SAFE MODE from my Delphi 1.0 application?  If so, how?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sorry, mistake. I intended to comment to another question.
KapustaAuthor Commented:
Adjusted points to 100
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

KapustaAuthor Commented:
Adjusted points to 175
I think you should use: GetSystemMetrics(SM_CLEANBOOT)
For more information See API's Help file.
KapustaAuthor Commented:
>>I think you should use: GetSystemMetrics(SM_CLEANBOOT)
>>For more information See API's Help file.

Perhaps you are correct...however, my Delphi 1.0 API help file shows nothing on the SM_CLEANBOOT parameter.  The GetSystemMetrics API .HLP page knows nothing about SM_CLEANBOOT. I will try checking the search engines for SM_CLEANBOOT and see what I uncover.

KapustaAuthor Commented:
It turns out that although SM_CLEANBOOT is NOT a predefined variable, its value (67) will return the necessary result value.

      SafeMode : Integer;
      SafeMode := GetSystemMetrics(67 {SM_CLEANBOOT});
      case SafeMode of
            1, 2: begin
   {1 = Safe mode, 2 = Safe mode with network support}

I believe you deserve the 175 points since you pointed me in the right direction.  How do I make sure that you get credit for your response?

I have just posted an answer...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.