NetConfigurationQueryUlong - NtDoc

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

NTSTATUS NetConfigurationQueryUlong(
  [_In_]  NETCONFIGURATION                    Configuration,
  [_In_]  NET_CONFIGURATION_QUERY_ULONG_FLAGS Flags,
  [_In_]  PCUNICODE_STRING                    ValueName,
  [_Out_] ULONG                               *Value
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NetConfigurationQueryUlong function

Description

Retrieves the specified unsigned long word (REG_DWORD) data from the adapter configuration object and copies the data to a specified location.

Parameters

Configuration [_In_]

Handle to a NETCONFIGURATION object that represents an opened registry key.

Flags [_In_]

A valid bitwise OR of NET_CONFIGURATION_QUERY_ULONG_FLAGS-typed flags.

ValueName [_In_]

A pointer to a UNICODE_STRING structure that contains a name for the ULONG value.

Value [_Out_]

A pointer to a location that receives the data that is assigned to the value that ValueName specifies.

Return value

The 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.

See also