REQUEST_SEND_PHY_PACKET control code

The REQUEST_SEND_PHY_PACKET request sends a 1394 PHY packets to the bus. This request replaces the REQUEST_SEND_PHY_CONFIG_PACKET IOCTL.

The relevant members of the IRB for this request are as follows:


typedef struct _IRB {
  ULONG FunctionNumber;
    .
    .
    .
  union {
    struct {
      ULONG           Flags; 
      ULONG           GenerationCount; 
      ULARGE_INTEGER  PhyPacket; 
    } SendPhyPacket;
    .
    .
    .
  } u;
} IRB;

IRB Input

FunctionNumber

REQUEST_SEND_PHY_PACKET

u.SendPhyPacket.Flags

Specifies any nondefault settings for this operation. Set to ASYNC_FLAGS_NO_STATUS to always return success from the send PHY packet operation, regardless of whether the send PHY packet succeeds or fails.

u.SendPhyPacket.GenerationCount

Specifies the bus reset generation as known by the device driver that submits this request. If the specified generation count does not match the actual generation of the bus, this request is returned with a status of STATUS_INVALID_GENERATION.

u.SendPhyPacket.PhyPacket

Specifies the 64-bit PHY packet that is sent to the 1394 bus.

I/O Status Block

If successful, the new 1394 bus driver (1394ohci.sys)sets Irp->IoStatus.Status to STATUS_SUCCESS. If u.SendPhyPacket.GenerationCount does not match the current bus generation count, the new 1394 bus driver sets Irp->IoStatus.Status to STATUS_INVALID_GENERATION.

Requirements

Version

Available in Windows 7 and later versions.

Header

Winioctl.h

See also

DeviceIoControl
IOCTL_IEEE1394_API_REQUEST
REQUEST_RECEIVE_PHY_PACKET
Device Driver Interface (DDI) Changes in Windows 7

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft