次の方法で共有


IOCTL_VBRIDGE_GET_TX_PACKET (Compact 2013)

10/16/2014

This I/O control message obtains one transmit buffer from VBridge. Send this message with KernelIoControl.

Syntax

BOOL KernelIoControl(
    DWORD dwIoControlCode,    // use IOCTL_VBRIDGE_GET_TX_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_TX_PACKET for this operation.
  • lpInBuffer
    Not used; set to NULL.
  • nInBufferSize
    [in] Set to the size of buffer required. Pointer to this amount of memory is then returned in lpOutBuffer.
  • lpOutBuffer
    [in] For successful call will point to the contiguous memory of size nInBufferSize.
  • nOutBufferSize
    Not used; set to zero.
  • lpBytesReturned
    Not used; set to NULL.

Return Values

Successful calls return a contiguous buffer in lpOutBuf of size nInBufSize. VMINI then fills up the buffer and returns the transmit buffer to VBridge through IOCTL_VBRIDGE_GET_TX_PACKET_COMPLETE.

Requirements

Header

pkfuncs.h

See Also

Reference

VMINI IOCTLs
OEMIoControl
IOCTL_VBRIDGE_GET_TX_PACKET_COMPLETE