GetDeviceRegistrationInfo function (mdmregistration.h)

Retrieves the device registration information.

Syntax

HRESULT GetDeviceRegistrationInfo(
  [in]  REGISTRATION_INFORMATION_CLASS DeviceInformationClass,
  [out] PVOID                          *ppDeviceRegistrationInfo
);

Parameters

[in] DeviceInformationClass

Contains the maximum length that can be returned through the pszHyperlink parameter.

[out] ppDeviceRegistrationInfo

Details of the device registration.

Return value

If the function succeeds, the return value is ERROR_SUCCESS. .

Remarks

The caller of this function must be running as an elevated process.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mdmregistration.h
Library MDMRegistration.lib
DLL MDMRegistration.dll

See also

MDM Registration Error Values

MDM Registration Functions