Freigeben über


Adapter_RegisterDLL function

Registers a 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_RegisterDLL(
   HINSTANCE module,
   GUID      classId
);

Parameters

module

The handle of the provider module.

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