Ask the Expert

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!

    Requires Free Membership to View

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: