Compartir a través de


IOCTL_VBRIDGE_GET_ETHERNET_MAC (Compact 2013)

10/16/2014

This I/O control message determines the MAC address to be used by the virtual adapter instance VMINI1. Send this message with KernelIoControl.

Syntax

BOOL KernelIoControl(
    DWORD dwIoControlCode,    // use IOCTL_VBRIDGE_GET_ETHERNET_MAC
    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_ETHERNET_MAC for this operation.
  • lpInBuffer
    Not used; set to NULL.
  • nInBufferSize
    Not used; set to zero.
  • lpOutBuffer
    [out] Points to memory with a size of at least 6 bytes to receive the MAC address used by the debug Ethernet controller.
  • nOutBufferSize
    Not used; set to zero.
  • lpBytesReturned
    Not used; set to NULL.

Return Values

None.

Requirements

Header

pkfuncs.h

See Also

Reference

VMINI IOCTLs
OEMIoControl