WiFi Framework C++ Edition

◆ SetCategory()

int SetCategory ( const wclNlmNetworkCategory  Category)

Sets the category of a network. Changes made take effect immediately. Administrative privileges are needed for this method.

Parameters
CategorySpecifies the new category of the network.
Returns
If the function succeeded the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclNlmNetworkCategory