Partager via


2.2.1.12.1.3 Licensing Error Message (LICENSE_ERROR_MESSAGE)

 The LICENSE_ERROR_MESSAGE structure is used to indicate that an error occurred during the licensing protocol. Alternatively, it is also used to notify the peer of important status information.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwErrorCode

dwStateTransition

bbErrorInfo (variable)

...

dwErrorCode (4 bytes): A 32-bit, unsigned integer. The error or status code.

Sent by client:

Name

Value

ERR_INVALID_SERVER_CERTIFICATE

0x00000001

ERR_NO_LICENSE

0x00000002

Sent by server:

Name

Value

ERR_INVALID_SCOPE

0x00000004

ERR_NO_LICENSE_SERVER

0x00000006

STATUS_VALID_CLIENT

0x00000007

ERR_INVALID_CLIENT

0x00000008

ERR_INVALID_PRODUCTID

0x0000000B

ERR_INVALID_MESSAGE_LEN

0x0000000C

Sent by client and server:

Name

Value

ERR_INVALID_MAC

0x00000003

dwStateTransition (4 bytes): A 32-bit, unsigned integer. The licensing state to transition into upon receipt of this message. For more details about how this field is used, see [MS-RDPELE] section 3.1.5.2.

Name

Value

ST_TOTAL_ABORT

0x00000001

ST_NO_TRANSITION

0x00000002

ST_RESET_PHASE_TO_START

0x00000003

ST_RESEND_LAST_MESSAGE

0x00000004

bbErrorInfo (variable): A LICENSE_BINARY_BLOB (section 2.2.1.12.1.2) structure which MUST contain a BLOB of type BB_ERROR_BLOB (0x0004) that includes information relevant to the error code specified in dwErrorCode.