static qBool RegisterVirtualNetwork( VirtualNetwork * pVirtualNetwork );
Name | Description | |
---|---|---|
in | pVirtualNetwork |
A pointer to an instance of the derived class inheriting from VirtualNetwork that you want to register. |
false
if an instance has been registered already. Otherwise, returns true
. Registers an instance of the derived class that inherits from VirtualNetwork
and changes the mode to local communication mode.
Be sure to create an instance of the class derived from VirtualNetwork
and call this function to register the instance before you create a NetZ
instance.
When you switch to local communication mode you cannot conduct Internet communications.
To return to Internet communication mode, first call UnregisterVirtualNetwork
and then create a NetZ
instance again.
CONFIDENTIAL