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 list lists the value contained withinan HRESULT.

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 2008

Header

Wbemprov.h (include Wbemidl.h)

IDL

Wbemprov.idl

Library

Wbemuuid.lib

DLL

Wmidcprv.dll

CLSID

CLSID_WbemDecoupledRegistrar is defined as 4cfc7932-0f9d-4bef-9c32-8ea2a6b56fcb

IID

IID_IWbemDecoupledRegistrar is defined as 1005cbcf-e64f-4646-bcd3-3a089d8a84b4

 

 

Show: