Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The MSBMSGBASE header defines the packet header.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dwSignature |
|||||||||||||||||||||||||||||||
wVersion |
wMessageId |
||||||||||||||||||||||||||||||
cbMessage |
|||||||||||||||||||||||||||||||
hr |
dwSignature (4 bytes): An unsigned 32-bit integer that identifies the protocol as the MSBD Protocol. This value MUST be 0x2042534D, which is the little-endian representation of the ASCII character sequence "MSB[space]".
wVersion (2 bytes): An unsigned 16-bit integer that represents the version number of the MSBD Protocol. This value is currently 0x0106.
wMessageId (2 bytes): An unsigned 16-bit integer that designates the MSBD packet type. This value MUST be one of the following.
-
Value
Meaning
0x0001
Designates an MSB_MSG_REQ_PING packet.
0x0002
Designates an MSB_MSG_RES_PING packet.
0x0003
Designates an MSB_MSG_REQ_STREAMINFO packet.
0x0004
Designates an MSB_MSG_RES_STREAMINFO packet.
0x0005
Designates an MSB_MSG_IND_STREAMINFO packet.
0x0007
Designates an MSB_MSG_REQ_CONNECT packet.
0x0008
Designates an MSB_MSG_RES_CONNECT packet.
0x0009
Designates an MSB_MSG_IND_EOS packet.
0x000A
Designates an MSB_MSG_IND_PACKET packet.
cbMessage (4 bytes): An unsigned 32-bit integer that contains the byte length of the packet, including the header. The cbMessage field MUST be set to a value in the range 0x0010 to 0xFFFF, inclusive.
hr (4 bytes): An unsigned 32-bit integer field representing the status of an operation. The hr field MUST be set to an HRESULT code. For HRESULT codes, see [MS-ERREF] section 2.1.