GetManagementAppHyperlink function (mdmregistration.h)

Retrieves the management app hyperlink associated with the MDM service.

Syntax

HRESULT GetManagementAppHyperlink(
  [in] DWORD  cchHyperlink,
       LPWSTR pszHyperlink
);

Parameters

[in] cchHyperlink

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

pszHyperlink

Address of a buffer that receives the NULL-terminated Unicode string with the hyperlink of the management app associated with the management service.

Return value

If the function succeeds, the return value is ERROR_SUCCESS. If the function fails, the returned value describes the error. Possible values include those listed at MDM Registration Error Values.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 8.1
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