RtlConvertDeviceFamilyInfoToString function (winnt.h)

Retrieves string representations of device family info.

Syntax

DWORD RtlConvertDeviceFamilyInfoToString(
  PDWORD pulDeviceFamilyBufferSize,
  PDWORD pulDeviceFormBufferSize,
  PWSTR  DeviceFamily,
  PWSTR  DeviceForm
);

Parameters

pulDeviceFamilyBufferSize

Type: Inout PDWORD

The size of the buffer for the device family.

pulDeviceFormBufferSize

Type: Inout PDWORD

The size of the buffer for the device form.

DeviceFamily

Type: Out_writes_bytes(*pulDeviceFamilyBufferSize) PWSTR

The retrieved device family.

DeviceForm

Type: Out_writes_bytes(*pulDeviceFormBufferSize) PWSTR

The retrieved device form.

Return value

Type: DWORD

A success or failure status.

Remarks

At this time, this function doesn't have an associated library file. Your application can call LoadLibrary with the DLL name (NtDll.dll) to obtain a module handle. It can then call GetProcAddress with the module handle and the name of this function to get the function address.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1903
Header winnt.h
Library ntdll.lib
DLL ntdll.dll