Skip to content

Latest commit

 

History

History
73 lines (56 loc) · 2.36 KB

nf-netconfiguration-netconfigurationassignulong.md

File metadata and controls

73 lines (56 loc) · 2.36 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.alt-api req.alt-loc targetos f1_keywords topic_type api_type api_location api_name
NF:netconfiguration.NetConfigurationAssignUlong
NetConfigurationAssignUlong function (netconfiguration.h)
The NetConfigurationAssignUlong function writes a caller-supplied unsigned long word value to a specified value name in the registry.
netvista
03/30/2022
NetConfigurationAssignUlong function
NetConfigurationAssignUlong
netconfiguration.h
netadaptercx.h
Universal
1.21
PASSIVE_LEVEL
Windows
NetConfigurationAssignUlong
netconfiguration/NetConfigurationAssignUlong
apiref
HeaderDef
netconfiguration.h
NetConfigurationAssignUlong

NetConfigurationAssignUlong function

-description

The NetConfigurationAssignUlong function writes a caller-supplied unsigned long word value to a specified value name in the registry.

-parameters

-param Configuration [In]

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

-param ValueName [In]

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

-param Value [In]

A ULONG value that will be assigned to the value name that ValueName specifies.

-returns

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, NetConfigurationAssignUlong replaces its current value with the caller-supplied value. Otherwise, NetConfigurationAssignUlong adds a new value entry with the given name and supplied value to the registry.

-see-also