Adapter_UnRegisterDLL function

Removes the registration of the provider DLL when Mofcomp.exe or Register-CimProvider.exe are used to register the provider with the WMI infrastructure. This function is required by a COM server, but is not used by it.

[!Important]
This function is only used by generated code and should not be used by developers.

Syntax

STDAPI Adapter_UnRegisterDLL(
   GUID classId
);

Parameters

classId

The COM class ID of the current provider.

Return value

This function always returns S_OK.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
DLL
WmiToMi.dll

See also

Adapter Functions