SecPkgContext_NegotiationInfoW structure (sspi.h)
The SecPkgContext_NegotiationInfo structure contains information on the security package that is being set up or has been set up, and also gives the status on the negotiation to set up the security package.
Syntax
typedef struct _SecPkgContext_NegotiationInfoW {
PSecPkgInfoW PackageInfo;
unsigned long NegotiationState;
} SecPkgContext_NegotiationInfoW, *PSecPkgContext_NegotiationInfoW;
Members
PackageInfo
Pointer to a SecPkgInfo structure that provides general information about the security package chosen in the negotiate process, such as the name and capabilities of the package.
NegotiationState
Indicator of the state of the negotiation for the security package identified in the PackageInfo member. This attribute can be queried from the context handle before the setup is complete, such as when ISC returns SEC_I_CONTINUE_NEEDED.
The following table shows values returned in this member.
Value | Meaning |
---|---|
|
Negotiation has been completed. |
|
Negotiations not yet completed. |
|
Negotiations in progress. |
Remarks
Note
The sspi.h header defines SecPkgContext_NegotiationInfo as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | sspi.h (include Security.h) |