SecPkgContext_ProtoInfoW structure (sspi.h)

[The SecPkgContext_ProtoInfo structure is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the SecPkgContext_ConnectionInfo structure.]

The SecPkgContext_ProtoInfo structure holds information about the protocol in use.

This attribute is supported only by the Schannel security support provider (SSP).

Syntax

typedef struct _SecPkgContext_ProtoInfoW {
  SEC_WCHAR     *sProtocolName;
  unsigned long majorVersion;
  unsigned long minorVersion;
} SecPkgContext_ProtoInfoW, *PSecPkgContext_ProtoInfoW;

Members

sProtocolName

Pointer to a string containing the name of the protocol.

majorVersion

Major version number.

minorVersion

Minor version number.

Remarks

Note

The sspi.h header defines SecPkgContext_ProtoInfo as an alias which 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 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 Schnlsp.h)