Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the config info associated with the provider ID.
Syntax
HRESULT GetDeviceManagementConfigInfo(
PCWSTR providerID,
DWORD *configStringBufferLength,
PWSTR configString
);
Parameters
providerID
Type: _In_ PCWSTR
A string containing the provider ID.
configStringBufferLength
Type: _Inout_ DWORD*
A pointer to the buffer length (the size of configString in chars).
configString
Type: _Out_writes_to_opt_(*configStringBufferLength, *configStringBufferLength) PWSTR
A buffer which, if the function completes successfully, will contain the config info.
If the buffer isn't large enough to hold the data, then the function returns ERROR_MORE_DATA, and stores the required buffer size in the variable pointed to by configStringBufferLength. In that case, the contents of the configString buffer are undefined.
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 |