Creates a new handle of type PHT_NETWORK_CLASS.
PRL_RESULT PrlNetworkClass_Create( PRL_UINT32 nClassId, PRL_HANDLE_PTR phNetworkClass );
PrlApiNet.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - null pointer was passed.
PRL_ERR_OUT_OF_MEMORY - not enough memory to create a virtual network object.
PRL_ERR_SUCCESS - function completed successfully.
The handle is necessary to configure network accounting configuration If you would like to manage network classes configuration, use this function to create the handle first and then use the handle functions to configure the Network class.
It is the responsibility of the caller to free the handle with the PrlHandle_Free call when it is no longer needed.