Parallels Virtualization SDK
|
Allows to manually set MAC address to a network adapter inside a virtual machine.
PRL_RESULT PrlVmDevNet_SetMacAddress( PRL_HANDLE hVmDev, PRL_CONST_STR sNewMacAddress );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
Use this function if you would like to set a specific MAC address to an adapter. To generate an address and to set it to an adapter automatically, use the PrlVmDevNet_GenerateMacAddr function.