IWbemDecoupledRegistrar::UnRegister method

The IWbemDecoupledRegistrar::UnRegister method removes the registration of an object interface from WMI.

Syntax


HRESULT UnRegister();

Parameters

This method has no parameters.

Return value

This method returns an HRESULT indicating the status of the method call. The following table lists the value contained within an HRESULT.

Return codeDescription
WBEM_E_NOT_REGISTERED

The object is not registered.

WBEM_E_ACCESS_DENIED

Access to the object is denied.

WBEM_E_CRITICAL_ERROR

An internal error has occurred.

WBEM_E_OUT_OF_MEMORY

The system has run out of memory.

WBEM_E_TIMED_OUT

System time out.

WBEM_S_NO_ERROR

The call succeeded.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wbemprov.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Wmidcprv.dll

 

 

Show:
© 2014 Microsoft