Constructor
FwupdPluginUsbBosDescriptornew
since: 2.1.1
Declaration [src]
FuUsbBosDescriptor*
fu_usb_bos_descriptor_new (
FuUsbBosHdr* st_hdr
)
Parameters
st_hdr-
Type:
FuUsbBosHdrA
FuUsbBosHdr.The data is owned by the caller of the function.
Return value
Type: FuUsbBosDescriptor
A new FuUsbBosDescriptor object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |