SetManagedExternally function (mdmregistration.h)
Indicates to the MDM agent that the device is managed externally and is not to be registered with an MDM service.
C++
HRESULT SetManagedExternally(
[in] BOOL IsManagedExternally
);
[in] IsManagedExternally
If TRUE this device is not to be registered with an MDM service. If FALSE this device can be registered with an MDM service.
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.
The caller of this function must be running as an elevated process.
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 |