LS_CHALLENGE
Notice:This is preliminary documentation for technology that
will be supported in future releases of
Microsoft Windows.
The LS_CHALLENGE
structure is used for both the challenge and the response of the LSRequest
typedef struct _LS_CHALLENGE {
LS_ULONG
Protocol;
LS_ULONG
Size;
LS_CHALLDATA ChallengeData;
} LS_CHALLENGE;
Members
Protocol
Specifies the
protocol setting for license authentication.
Size
Specifies the
size, in bytes, of the ChallengeData (LS_CHALLDATA
ChallengeData
Structure
that contains the challenge that the application passes to the license system,
and the response the license system returns to the application.
Remarks
Use the LS_CHALLDATA
Because the LS_CHALLDATA
structure can vary depending on the protocol specified in the Protocol
member, this structure must be a single contiguous entity in memory, and
must not exceed the number of bytes specified in the Size member. It
cannot contain any pointers.
LSAPI passes
the Protocol, the Size of the LS_CHALLDATA
The constant
value LS_BASIC_PROTOCOL specifies a standard basic challenge protocol that is
supported by all LSAPI-compliant license systems. When the Protocol
specified is LS_OUT_OF_BAND_PROTOCOL, there is no challenge and no response.
See Also