Adapter_DllCanUnloadNow function

Exposes the DllCanUnloadNow function to a provider. This function allows a provider to call the adapter function DllCanUnloadNow, which determines whether the DLL that implements this function is in use.

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

Syntax

STDAPI Adapter_DllCanUnloadNow(void);

Parameters

This function has no parameters.

Return value

If the function succeeds, the return value is S_OK. If the function fails, the return value is S_FALSE.

Requirements

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

See also

Adapter Functions