Q

How do I find the actual values of error codes?

I'd like to ask a question about the InitializeSecurityContext function in the security section of the Platform SDK. If the function fails, it returns error codes -- e.g., SEC_E_INSUFFICIENT_MEMORY. I need to know the actual values (should be of type int., I believe) of the error codes. Is there a way to find that out? Any help would be greatly appreciated!
You can find the actual values for all return values in Windows by searching for the define in WinError.h, which you'll find in the Platform SDK or with your copy of Visual Studio.
This was first published in September 2002

Dig deeper on Windows Operating System Management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close