SetDeviceManagementConfigInfo function (mdmregistration.h)

Sets the config info associated with the provider ID.

Syntax

HRESULT SetDeviceManagementConfigInfo(
  PCWSTR providerID,
  PCWSTR configString
);

Parameters

providerID

Type: _In_ PCWSTR

A string containing the provider ID.

configString

Type: _In_ PCWSTR

A string containing the config info (the data to write).

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header mdmregistration.h
Library MDMRegistration.lib
DLL MDMRegistration.dll