The adapter has not been opened, see the AdpOpenAdapter function.
HNERR_SIZE_ERR
The PacketSize parameter value is greater than the maximum size, see
AdpCfgGetMaxPacketSize.
HNERR_ADAPTER_REQ_ERR
An internal driver request error.
HNERR_INVALID_HANDLE
hAdp parameter is not the HNAdapter object handle.
Description:
After the network adapter has been opened successfully by AdpOpenAdapter,
you can send a raw packet directly, without using the OS functions. This packet will be sent
synchronously.
This function cannot work with the devices recognized as atWAN. See
HNNetAdapterType.