Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The SetCategory method sets the category of a network. Changes made take effect immediately. Callers of this API must be members of the Administrators group.
Syntax
HRESULT SetCategory(
[in] NLM_NETWORK_CATEGORY NewCategory
);
Parameters
[in] NewCategory
Pointer to a NLM_NETWORK_CATEGORY enumeration value that specifies the new category of the network.
Return value
Returns S_OK if the method succeeds.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | netlistmgr.h |