FCP_SEND_RESPONSE structure (61883.h)
This structure is used for a send response.
The request sends an FCP response to the device. The request is used in conjunction with GetFcpRequest. A client driver should use SendFcpResponse to return an FCP response for a received FCP request. If the protocol driver is being used to represent a virtual device on the machine, the NodeAddress member from GetFcpRequest must be specified in the NodeAddress member of the FCP_SEND_RESPONSE structure. This information is required in order to route the response to the proper node on the 1394 bus.
If the protocol driver is being used to control a physical device, the 1394 bus driver determines the node address dynamically, and NodeAddress is not used.
Syntax
typedef struct _FCP_SEND_RESPONSE {
IN NODE_ADDRESS NodeAddress;
IN ULONG Length;
IN PFCP_FRAME Frame;
} FCP_SEND_RESPONSE, *PFCP_SEND_RESPONSE;
Members
NodeAddress
On input, if the protocol driver is being used to control a virtual device, NodeAddress must contain the node address of the device that sent the FCP request obtained with GetFcpRequest so the 1394 bus driver can route the response to the correct device.
If the protocol driver is being used to control a physical device, NodeAddress is not used.
Length
On input, the length of the frame payload in bytes, including the FCP header.
Frame
On input, a pointer to an FCP_FRAME structure that contains the FCP response to send to the device.
Remarks
If successful, the IEC-61883 protocol driver sets Irp->IoStatus.Status to STATUS_SUCCESS.
If an incorrect parameter is passed in, the protocol driver sets Irp->IoStatus.Status to STATUS_INVALID_PARAMETER.
If the protocol driver is unable to allocate resources, it sets Irp->IoStatus.Status to STATUS_INSUFFICIENT_RESOURCES.
Requirements
Requirement | Value |
---|---|
Header | 61883.h |