2.2.4.2.2 Client Get All Dev Caps Response (GET_ALL_DEV_CAPS_RSP)

The GET_ALL_DEV_CAPS_RSP message is a response to the paired GET_ALL_DEV_CAPS_REQ message.


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

Header (variable)

...

numCaps

OutCapArray (variable)

...

Result

Header (variable): The common message header (as specified in section 2.2.1). The InterfaceId field and the MessageId field in this message header MUST contain the same values as the InterfaceId and MessageId fields in the corresponding GET_ALL_DEV_CAPS_REQ request message.

numCaps (4 bytes): A 32-bit unsigned integer. This field MUST contain the number of TSDEVICE_CAPABILITIES structures in the OutCapArray field.

OutCapArray (variable): An array of TSDEVICE_CAPABILITIES structures, each containing capabilities for a particular device. The content is generated by the client printer driver and is treated as payload in the Printer Driver Interface.

Result (4 bytes): An HRESULT that describes the result of the call.