2.2.4.2.2.4 CreateAgent
This is the completion packet sent by the server for the line CreateAgent request.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Totalsize |
|||||||||||||||||||||||||||||||
|
InitContext |
|||||||||||||||||||||||||||||||
|
lpContext |
|||||||||||||||||||||||||||||||
|
hDevice |
|||||||||||||||||||||||||||||||
|
Msg |
|||||||||||||||||||||||||||||||
|
OpenContext |
|||||||||||||||||||||||||||||||
|
dwRequestId |
|||||||||||||||||||||||||||||||
|
Result |
|||||||||||||||||||||||||||||||
|
lphAgentContext |
|||||||||||||||||||||||||||||||
|
dwSize |
|||||||||||||||||||||||||||||||
|
VarData (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Totalsize (4 bytes): An unsigned 32-bit integer. The total size, in bytes, of this packet and any trailing variable-length data.
InitContext (4 bytes): An unsigned 32-bit integer. An opaque, client-specified session value that MUST be equal to the InitContext value specified in the original scoping of the line Initialize request.
lpContext (4 bytes): An unsigned 32-bit integer. An opaque, client-specified value that MUST be equal to the lpContext value in the original request.
hDevice (4 bytes): An unsigned 32-bit integer. This MUST be ignored on receipt and can be any value.
Msg (4 bytes): An unsigned 32-bit integer. The packet type identifier. MUST be set to LINE_REPLY (0x0000000C).
OpenContext (4 bytes): An unsigned 32-bit integer. An opaque, client-specified value that MUST be equal to the OpenContext value specified in the original scoping of the line Open request.
dwRequestId (4 bytes): An unsigned 32-bit integer. The positive, nonzero, client-specified request ID value equal to the dwRequestId value in the original request.
Result (4 bytes): An unsigned 32-bit integer. The request result, for example, 0 for success or a LINEERR_Constants value for an error.
lphAgentContext (4 bytes): An unsigned 32-bit integer. An opaque, client-specified value that MUST be equal to the lpAgentContext value in the original line CreateAgent request.
dwSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of any returned variable-length data that immediately follows this packet.
VarData (variable): Contains opaque data of the size specified by dwSize. The contents of this field MUST be QWORD-aligned, as specified in [MS-DTYP] section 2.2.40.