Partager via


IOCTL_VBRIDGE_GET_RX_PACKET (Compact 2013)

10/16/2014

This I/O control message obtains one received Ethernet packet from VBridge. The VMINI driver calls this message with KernelIoControl.

Syntax

BOOL KernelIoControl(
    DWORD dwIoControlCode,    // use IOCTL_VBRIDGE_GET_RX_PACKET
    LPVOID lpInBuffer,        // pointer to input buffer
    DWORD nInBufferSize,      // input buffer size
    LPVOID lpOutBuffer,       // pointer to output buffer
    DWORD nOutBufferSize,     // output buffer size
    LPDWORD lpBytesReturned  // number of bytes returned
);

Parameters

  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_VBRIDGE_GET_RX_PACKET for this operation.
  • lpInBuffer
    Not used; set to NULL.
  • nInBufferSize
    Not used; set to zero.
  • lpOutBuffer
    [out] Points to pointer-to-memory to receive pointer-to-memory containing one Ethernet packet received by VBridge.
  • nOutBufferSize
    Not used; set to zero.
  • lpBytesReturned
    [in] Total packet size of the pointer written to lpOutBuffer.

Return Values

Returns TRUE if a packet is returned in lpOutBuffer; otherwise, returns FALSE.

Requirements

Header

pkfuncs.h

See Also

Reference

VMINI IOCTLs
OEMIoControl
IOCTL_VBRIDGE_GET_RX_PACKET_COMPLETE