NetConfigurationAssignMultiString - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netconfiguration.h

NTSTATUS NetConfigurationAssignMultiString(
  [_In_] NETCONFIGURATION Configuration,
  [_In_] PCUNICODE_STRING ValueName,
  [_In_] WDFCOLLECTION    Collection
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netconfiguration-netconfigurationassignmultistring)

NetConfigurationAssignMultiString function

Description

The NetConfigurationAssignMultiString function assigns a set of strings to a specified value name in the registry. The strings are contained in a specified collection of framework string objects.

Parameters

Configuration [_In_]

A handle to a NETCONFIGURATION object that represents an opened registry key.

ValueName [_In_]

A pointer to a UNICODE_STRING structure that contains a value name.

Collection [_In_]

A handle to a framework collection object that represents a collection of framework string objects.

Return value

This function returns STATUS_SUCCESS if the operation succeeds. Otherwise, this function may return an appropriate NTSTATUS error code.

Remarks

The client driver obtains a handle to a NETCONFIGURATION object by calling NetAdapterOpenConfiguration or NetConfigurationOpenSubConfiguration.

If an entry of the same name as ValueName already exists under the opened registry key, NetConfigurationAssignMultiString replaces its current value with the caller-supplied value. Otherwise, NetConfigurationAssignMultiString adds a new value entry with the given name and supplied value to the registry.

See also